• Martin Schwidefsky's avatar
    [S390] s390: Optimize user and work TIF check · 2688905e
    Martin Schwidefsky authored
    
    
    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>
    2688905e
entry64.S 29.2 KB