lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f45ba1d7-a175-c284-5489-b2c2eaa7131c@infradead.org>
Date:   Wed, 4 Aug 2021 13:47:30 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Josh Poimboeuf <jpoimboe@...hat.com>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        Peter Zijlstra <peterz@...radead.org>
Subject: Re: linux-next: objtool hang/loop?

On 8/4/21 11:34 AM, Josh Poimboeuf wrote:
> On Wed, Jul 28, 2021 at 07:25:21PM -0700, Randy Dunlap wrote:
>> Hi Josh & Peter,
>>
>> Yesterday (2021-07-27), one of my x86_64 randconfig build ran for
>> over 2 hours (it's a slow core i5 laptop and spinning rust media).
>> I killed it and reran the .config file today on linux-next-20210728.
>> I killed this one after 30 minutes on its last message:
>>    OBJTOOL vmlinux.o
>>
>> This is a .config with # CONFIG_MODULES is not set.
>> vmlinux.o is 253 MB in size.
>> I see that using verbose make (V=1) won't help me any here.
>>
>> The problematic (if it is a problem: maybe I didn't wait long
>> enough?) .config file is attached.  The gzipped vmlinux.o file is at:
>>    http://www.infradead.org/~rdunlap/vmlinux.o.gz
>>
>> If there is a problem, I can test any patches...
> 
> Hi Randy,
> 
> I'm guessing your laptop doesn't have a lot of RAM.  I ran

Hey, it has a whopping 6 GB of RAM. :)

>    /usr/bin/time -v tools/objtool/objtool check --noinstr --vmlinux --no-fp --uaccess vmlinux.o
> 
> It showed a max RSS of 6.5GB.
> 
> Can you try this patch from Peter?  It halves the memory usage.
> 
>    https://lkml.kernel.org/r/20210507164925.GC54801@worktop.programming.kicks-ass.net

Yes, that fixes the problem for me. Thanks.

Acked-by: Randy Dunlap <rdunlap@...radead.org>
Tested-by: Randy Dunlap <rdunlap@...radead.org>

-- 
~Randy


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ