summaryrefslogtreecommitdiffstats
path: root/arch/alpha/mm
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-09-05 18:08:40 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-11 21:39:26 -0400
commit7721d3c2083c27bfb8e4c1335d343e25ae1a663f (patch)
treec9b4ed9f85ca2386a665c3f317150fb2cc964d1b /arch/alpha/mm
parent12f79be93d94698778ff2b3f921073fc5f6780d6 (diff)
downloadop-kernel-dev-7721d3c2083c27bfb8e4c1335d343e25ae1a663f.zip
op-kernel-dev-7721d3c2083c27bfb8e4c1335d343e25ae1a663f.tar.gz
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>
Diffstat (limited to 'arch/alpha/mm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud