Re: Change eats memory on my server

2021-01-18 Thread Eli Cohen
On Mon, Jan 18, 2021 at 10:30:56AM +0100, Thomas Zimmermann wrote: > Hi > > Am 18.01.21 um 10:13 schrieb Eli Cohen: > > On Mon, Jan 18, 2021 at 08:54:07AM +0100, Thomas Zimmermann wrote: > > > Hi > > > > > > Am 18.01.21 um 08:43 schrieb Christian König: > > > > Hi Eli, > > > > > > > > have you

Re: Change eats memory on my server

2021-01-18 Thread Thomas Zimmermann
Hi Am 18.01.21 um 14:23 schrieb Christian König: Am 18.01.21 um 14:22 schrieb Eli Cohen: On Mon, Jan 18, 2021 at 02:20:49PM +0100, Thomas Zimmermann wrote: Hi Am 18.01.21 um 14:16 schrieb Eli Cohen: On Mon, Jan 18, 2021 at 10:30:56AM +0100, Thomas Zimmermann wrote: Here's the patch against

Re: Change eats memory on my server

2021-01-18 Thread Christian König
Am 18.01.21 um 14:22 schrieb Eli Cohen: On Mon, Jan 18, 2021 at 02:20:49PM +0100, Thomas Zimmermann wrote: Hi Am 18.01.21 um 14:16 schrieb Eli Cohen: On Mon, Jan 18, 2021 at 10:30:56AM +0100, Thomas Zimmermann wrote: Here's the patch against the latest DRM tree. v5.11-rc3 should work as

Re: Change eats memory on my server

2021-01-18 Thread Eli Cohen
On Mon, Jan 18, 2021 at 02:20:49PM +0100, Thomas Zimmermann wrote: > Hi > > Am 18.01.21 um 14:16 schrieb Eli Cohen: > > On Mon, Jan 18, 2021 at 10:30:56AM +0100, Thomas Zimmermann wrote: > > > > > > Here's the patch against the latest DRM tree. v5.11-rc3 should work as > > > well. > > > > > >

Re: Change eats memory on my server

2021-01-18 Thread Thomas Zimmermann
Hi Am 18.01.21 um 14:16 schrieb Eli Cohen: On Mon, Jan 18, 2021 at 10:30:56AM +0100, Thomas Zimmermann wrote: Here's the patch against the latest DRM tree. v5.11-rc3 should work as well. I was able to reproduce the memory leak locally and found that the patch fixes it. Please give it a try.

Re: Change eats memory on my server

2021-01-18 Thread Eli Cohen
On Mon, Jan 18, 2021 at 10:30:56AM +0100, Thomas Zimmermann wrote: > > Here's the patch against the latest DRM tree. v5.11-rc3 should work as well. > > I was able to reproduce the memory leak locally and found that the patch > fixes it. Please give it a try. > As far as I am concerned, this

Re: Change eats memory on my server

2021-01-18 Thread Thomas Zimmermann
Hi Am 18.01.21 um 10:13 schrieb Eli Cohen: On Mon, Jan 18, 2021 at 08:54:07AM +0100, Thomas Zimmermann wrote: Hi Am 18.01.21 um 08:43 schrieb Christian König: Hi Eli, have you already tried using kmemleak? This sounds like a leak of memory allocated using kmalloc(), so kmemleak should be

Re: Change eats memory on my server

2021-01-18 Thread Eli Cohen
On Mon, Jan 18, 2021 at 08:54:07AM +0100, Thomas Zimmermann wrote: > Hi > > Am 18.01.21 um 08:43 schrieb Christian König: > > Hi Eli, > > > > have you already tried using kmemleak? > > > > This sounds like a leak of memory allocated using kmalloc(), so kmemleak > > should be able to catch it. >

Re: Change eats memory on my server

2021-01-18 Thread Eli Cohen
On Mon, Jan 18, 2021 at 08:57:26AM +0100, Christian König wrote: > Am 18.01.21 um 08:49 schrieb Eli Cohen: > > On Mon, Jan 18, 2021 at 08:43:12AM +0100, Christian König wrote: > > > Hi Eli, > > > > > > have you already tried using kmemleak? > > > > > > This sounds like a leak of memory allocated

Re: Change eats memory on my server

2021-01-18 Thread Christian König
Am 18.01.21 um 08:49 schrieb Eli Cohen: On Mon, Jan 18, 2021 at 08:43:12AM +0100, Christian König wrote: Hi Eli, have you already tried using kmemleak? This sounds like a leak of memory allocated using kmalloc(), so kmemleak should be able to catch it. Hi Christian, I have the following

Re: Change eats memory on my server

2021-01-17 Thread Thomas Zimmermann
Hi Am 18.01.21 um 08:43 schrieb Christian König: Hi Eli, have you already tried using kmemleak? This sounds like a leak of memory allocated using kmalloc(), so kmemleak should be able to catch it. I have an idea what happens here. When the refcount is 0 in kmap, a new page mapping for the

Re: Change eats memory on my server

2021-01-17 Thread Eli Cohen
On Mon, Jan 18, 2021 at 08:43:12AM +0100, Christian König wrote: > Hi Eli, > > have you already tried using kmemleak? > > This sounds like a leak of memory allocated using kmalloc(), so kmemleak > should be able to catch it. > Hi Christian, I have the following configured but I did not see

Re: Change eats memory on my server

2021-01-17 Thread Christian König
Hi Eli, have you already tried using kmemleak? This sounds like a leak of memory allocated using kmalloc(), so kmemleak should be able to catch it. Regards, Christian. Am 17.01.21 um 06:08 schrieb Eli Cohen: On Fri, Jan 15, 2021 at 10:03:50AM +0100, Thomas Zimmermann wrote: Could you

Re: Change eats memory on my server

2021-01-16 Thread Eli Cohen
On Fri, Jan 15, 2021 at 10:03:50AM +0100, Thomas Zimmermann wrote: > > Could you please double-check that 3fb91f56aea4 ("drm/udl: Retrieve USB > device from struct drm_device.dev") works correctly Checked again, it does not seem to leak. > and that 823efa922102 > ("drm/cma-helper: Remove empty

Re: Change eats memory on my server

2021-01-15 Thread Thomas Zimmermann
(cc'ing dri-devel) Hi Am 14.01.21 um 16:15 schrieb Eli Cohen: Hi Thomas, After long bisecting I found that this patch, commit 1086db71a1dbbfb32ffb42cf0d540b69956f951e Author: Thomas Zimmermann Date: Tue Nov 3 10:30:06 2020 +0100 drm/vram-helper: Remove invariant parameters from