[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f53c0e44-c0c0-8631-50c5-1c5bb549c629@rasmusvillemoes.dk>
Date: Mon, 21 Jun 2021 19:02:05 +0200
From: Rasmus Villemoes <linux@...musvillemoes.dk>
To: Oliver Sang <oliver.sang@...el.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Luis Chamberlain <mcgrof@...nel.org>,
Jessica Yu <jeyu@...nel.org>, Borislav Petkov <bp@...en8.de>,
Jonathan Corbet <corbet@....net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Takashi Iwai <tiwai@...e.de>,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org,
lkp@...el.com
Subject: Re: [init/initramfs.c] e7cb072eb9: invoked_oom-killer:gfp_mask=0x
On 11/06/2021 10.48, Oliver Sang wrote:
>>> To reproduce:
>>>
>>> # build kernel
>>> cd linux
>>> cp config-5.12.0-11533-ge7cb072eb988 .config
>>> make HOSTCC=gcc-9 CC=gcc-9 ARCH=i386 olddefconfig prepare modules_prepare bzImage modules
>>> make HOSTCC=gcc-9 CC=gcc-9 ARCH=i386 INSTALL_MOD_PATH=<mod-install-dir> modules_install
>>> cd <mod-install-dir>
>>> find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
Hm, when I do this with that exact commit, config, command lines and
Ubuntu's idea of what gcc-9 is, I get a modules.cgz of 73MB,
decompressing to 215MB. But in the two dmesg captures you've sent, there
are lines
[ 0.016519] RAMDISK: [mem 0x74c12000-0x7fffffff]
[ 0.023424] RAMDISK: [mem 0x74c16000-0x7fffffff]
corresponding to 189MB compressed. I'm wondering why there is the huge
difference.
Artificially inflating my modules.cgz to around the same size ("cp -r
lib/modules lib/modules2; cp -r lib/modules lib/modules3;") doesn't help
reproduce, unfortunately.
Rasmus
Powered by blists - more mailing lists