2023-09-28 23:57:06

by Bagas Sanjaya

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

Hi,

I notice a regression report on Bugzilla [1]. Quoting from it:

> 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

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