Skip to content
Commit 2688905e authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

[S390] s390: Optimize user and work TIF check



On return from syscall or interrupt, we have to check if we return to
userspace (likely) and if there is work todo (less likely) to decide
if we handle the work. We can optimize this check: we first check for
the less likely work case and then check for userspace.

This patch is also a preparation for an additional patch, that fixes a bug
in KVM dealing with cpu bound guests.

Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent c0a18111
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment