Files
android_kernel_xiaomi_sm8450/arch/alpha/kernel
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
..
2009-01-15 16:39:40 -08:00
2012-03-20 21:29:46 -04:00
2012-03-28 18:11:12 +01:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:11:12 +01:00
2009-05-02 15:36:10 -07:00
2012-03-28 18:11:12 +01:00
2011-03-31 11:26:23 -03:00
2005-04-16 15:20:36 -07:00
2012-03-28 18:11:12 +01:00
2005-04-16 15:20:36 -07:00
2012-03-28 18:11:12 +01:00
2012-05-05 13:00:21 +02:00
2010-08-31 22:45:31 -04:00
2012-03-28 18:11:12 +01:00
2012-06-01 12:58:52 -04:00
2011-09-27 18:08:04 +02:00
2012-03-28 18:11:12 +01:00
2012-03-28 18:11:12 +01:00