lkml.org 
[lkml]   [2021]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [init/initramfs.c] e7cb072eb9: invoked_oom-killer:gfp_mask=0x
From
Date
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

\
 
 \ /
  Last update: 2021-06-21 19:08    [W:0.082 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site