[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1604080050260.27368@cbobk.fhfr.pm>
Date: Fri, 8 Apr 2016 00:53:13 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Josh Poimboeuf <jpoimboe@...hat.com>
cc: Jessica Yu <jeyu@...hat.com>, Miroslav Benes <mbenes@...e.cz>,
linux-kernel@...r.kernel.org, live-patching@...r.kernel.org,
Vojtech Pavlik <vojtech@...e.com>
Subject: Re: sched: horrible way to detect whether a task has been
preempted
On Thu, 7 Apr 2016, Josh Poimboeuf wrote:
> To do that from C code, I guess we'd still need some arch-specific code
> in an asm() statement to do the actual push?
This could potentially be worked around I believe (thinking for example of
a onstack-allocated local variable with predefined contents that the
compiler would not be allowed to optimize out; certainly not the only
option).
Thanks,
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists