Thread (89 messages) 89 messages, 9 authors, 2017-01-17

Re: sched: horrible way to detect whether a task has been preempted

From: Jiri Kosina <jikos@kernel.org>
Date: 2016-04-07 22:53:16

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help