[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200501002858.4wuiqqv5o32jcvxf@treble>
Date: Thu, 30 Apr 2020 19:28:58 -0500
From: Josh Poimboeuf <jpoimboe@...hat.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Peter Zijlstra <peterz@...radead.org>,
the arch/x86 maintainers <x86@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: Remaining randconfig objtool warnings, linux-next-20200428
On Thu, Apr 30, 2020 at 04:05:07PM +0200, Arnd Bergmann wrote:
> lib/locking-selftest.o: warning: objtool: locking_selftest()+0x117f: PUSHF stack exhausted
> lib/locking-selftest.o: warning: objtool: ww_tests()+0x1083: PUSHF stack exhausted
Peter,
These functions have a bunch of irqs_disabled() checks, which means a
bunch of PUSHFs with no POPFs.
Am I reading it correctly that objtool assumes PUSHF is always paired
with POPF? irqs_disabled() doesn't do that.
--
Josh
Powered by blists - more mailing lists