linux/arch
Al Viro 7721d3c208 alpha: simplify TIF_NEED_RESCHED handling
In case we have both NEED_RESCHED and SIGPENDING/NOTIFY_RESUME,
handle the latter first.  We'll get to original priorities in
the next commit, but now that allows to simplify the treatment
of NEED_RESCHED-only case nicely.  Namely, now there no need to
preserve the data for restarts across the call of schedule() in
$work_resched; we can get there only if we had either returned
from syscall without SIGPENDING (in which case we should've
had no restart-worthy return value and want no restarts) or
already got through do_notify_resume() call (in which case we
want no restarts anymore).  So we can just slap 0 into $19
instead of preserving it (and $20).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-10-11 21:39:26 -04:00
..
alpha alpha: simplify TIF_NEED_RESCHED handling 2012-10-11 21:39:26 -04:00
arm Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
avr32 Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
blackfin Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
c6x sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
cris sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
frv Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
h8300 Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
hexagon Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
ia64 sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
m32r Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
m68k m68k: switch to generic sys_execve()/kernel_execve() 2012-10-01 00:44:44 -04:00
microblaze microblaze: don't bother with SIGTRAP in setup_rt_frame() 2012-10-01 09:58:17 -04:00
mips sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
mn10300 mn10300: don't bother with SIGTRAP in setup_frame() 2012-10-01 09:58:16 -04:00
openrisc sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
parisc parisc: decide whether to go to slow path (tracesys) based on thread flags 2012-10-01 09:58:14 -04:00
powerpc Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
s390 sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
score sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
sh Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
sparc sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
tile tile: don't bother with SIGTRAP in setup_frame 2012-10-01 09:58:17 -04:00
um sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
unicore32 Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
x86 x86: get rid of duplicate code in case of CONFIG_VM86 2012-10-01 09:58:15 -04:00
xtensa Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
.gitignore
Kconfig preparation for generic kernel_thread() 2012-09-30 13:35:55 -04:00