• Heiko Carstens's avatar
    s390: remove last diag 0x44 caller · 1b68ac86
    Heiko Carstens authored
    diag 0x44 is a voluntary undirected yield of a virtual CPU. This has
    caused a lot of performance issues in the past.
    
    There is only one caller left, and that one is only executed if diag
    0x9c (directed yield) is not present. Given that all hypervisors
    implement diag 0x9c anyway, remove the last diag 0x44 to avoid that
    more callers will be added.
    
    Worst case that could happen now, if diag 0x9c is not present, is that
    a virtual CPU would loop a bit instead of giving its time slice up.
    
    diag 0x44 statistics in debugfs are kept and will always be zero, so
    that user space can tell that there are no calls.
    Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
    Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
    1b68ac86
early.c 8.2 KB