2023-09-28 13:10:55

by Thorsten Leemhuis

[permalink] [raw]
Subject: Re: Fwd: kmalloc memory leak over time.

On 28.09.23 10:40, Bagas Sanjaya wrote:
>
> I notice a regression report on Bugzilla [1]. Quoting from it:

@mm developers: feel free to ignore this, the user has Nvidia's driver
loaded (see bugzilla; I'll ask to reproduce without it).

Ciao, Thorsten

>> Since 1st weak of Sept I have been observing memory leak in my system, so after doing a little big of digging I found out that the leak is caused by kmalloc. In Linux 6.5.3 memory leak would increase to nearly 50% of my ram over a period of 6-9 hours. In the Newer Linux 6.5.4 I am yet to observe that much memory leak(Haven't used my laptop for that long till now) but over a period of 3 hours I see 2.2GB reserved and it is not used by any program at all. this is just after 3 hours of usage on Linux 6.5.4.
>
> Later, the reporter (Cc'ed) narrowed down the version range, with
> memory statistics:
>
>> 6.4 works fine I down graded to it before linux 6.5.4 was released. no memory leak.
>>
>> today i ran my laptop for 6 hours and 40 mins and this memory leak is still happening at same rate.
>>
>> total used free shared buff/cache available
>> Mem: 15Gi 7.2Gi 2.8Gi 797Mi 6.4Gi 8.1Gi
>> Swap: 0B 0B 0B
>> Total: 15Gi 7.2Gi 2.8Gi
>
> See Bugzilla for the full thread.
>
> Anyway, I'm adding this regression to be tracked by regzbot:
>
> #regzbot introduced: v6.4..v6.5 https://bugzilla.kernel.org/show_bug.cgi?id=217943
>
> Thanks.
>
> [1]: https://bugzilla.kernel.org/show_bug.cgi?id=217943
>


2023-10-05 14:47:15

by Bagas Sanjaya

[permalink] [raw]
Subject: Re: Fwd: kmalloc memory leak over time.

On 28/09/2023 19:55, Linux regression tracking (Thorsten Leemhuis) wrote:
> On 28.09.23 10:40, Bagas Sanjaya wrote:
>>
>> I notice a regression report on Bugzilla [1]. Quoting from it:
>
> @mm developers: feel free to ignore this, the user has Nvidia's driver
> loaded (see bugzilla; I'll ask to reproduce without it).
>

#regzbot invalid: reinstalling nvidia driver solves the regression

--
An old man doll... just what I always wanted! - Clara