diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-05-07 09:22:52 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-05-07 09:23:00 +0200 |
commit | 2688905e6a9b3647bf7b452cb0ff2bdb166bd8fe (patch) | |
tree | 389b9c29eaaa7eb49a9e7d3bb601959fb9d27af8 /arch/s390/kvm/intercept.c | |
parent | c0a18111e571138747a98af18b3a2124df56a0d1 (diff) | |
download | blackbird-op-linux-2688905e6a9b3647bf7b452cb0ff2bdb166bd8fe.tar.gz blackbird-op-linux-2688905e6a9b3647bf7b452cb0ff2bdb166bd8fe.zip |
[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: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/intercept.c')
0 files changed, 0 insertions, 0 deletions