• Martin Schwidefsky's avatar
    [S390] split page_test_and_clear_dirty. · 6c210482
    Martin Schwidefsky authored
    The page_test_and_clear_dirty primitive really consists of two
    operations, page_test_dirty and the page_clear_dirty. The combination
    of the two is not an atomic operation, so it makes more sense to have
    two separate operations instead of one.
    In addition to the improved readability of the s390 version of
    SetPageUptodate, it now avoids the page_test_dirty operation which is
    an insert-storage-key-extended (iske) instruction which is an expensive
    operation.
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    6c210482
rmap.c 25 KB