Bug 4.9 and memorymanagement

Klaus Ethgen
2016-12-25T21:36:39Z

[-- Attachment #1.1: Type: text/plain, Size: 1468 bytes --]

Hello,

The last days I compiled version 4.9 for my i386 laptop. (Lenovo x61s)

First, everything seems to be sane but after some sleep and awake
(suspend to ram) cycles I seen some really weird behaviour ending in OOM
or even complete freeze of the laptop.

What I was able to see is that it went to swap even if there is plenty
of memory left. The OOMs was also with many memory left.

Once I also catched kswapd0 with running insane with 100% CPU
utilization.

I first had in mind the CONFIG_SLAB_FREELIST_RANDOM setting and disabled
it. This didn't made the problem to go away but it helped a little.
Nevertheless, further OOM or other strange behaviour happened.

I went back to 4.8.15 now with the same config from 4.9 and everything
gets back to normal.

So it seems for me that there are some really strange memory leaks in
4.9. The biggest problem is, that I do not know how to reproduce it
reliable. The only what I know is that it happened after several
suspends. (Not necessarily the first.)

Am I the only one seeing that behavior or do anybody have an idea what
could went wrong?

For the reference I put the .configs of the two compilings as attachment
to this mail.

Please keep me in CC as I am not subscribed to LKML.

Regards
Klaus
--
Klaus Ethgen http://www.ethgen.ch/
pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C

[-- Attachment #1.2: config.4.9.broken.1.bz2 --]
[-- Type: application/octet-stream, Size: 22832 bytes --]

[-- Attachment #1.3: config.4.9.broken.2.bz2 --]
[-- Type: application/octet-stream, Size: 22829 bytes --]

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 688 bytes --]