• J
    [PATCH] splice: fix page LRU accounting · a893b99b
    Jens Axboe 提交于
    Currently we rely on the PIPE_BUF_FLAG_LRU flag being set correctly
    to know whether we need to fiddle with page LRU state after stealing it,
    however for some origins we just don't know if the page is on the LRU
    list or not.
    
    So remove PIPE_BUF_FLAG_LRU and do this check/add manually in pipe_to_file()
    instead.
    Signed-off-by: NJens Axboe <axboe@suse.de>
    a893b99b
splice.c 33.6 KB