• Andrew Morton's avatar
    [PATCH] Use kmap_atomic() for generic_file_read() · 88a3b490
    Andrew Morton authored
    This patch allows the kernel to hold atomic kmaps in file_read_actor().
    
    We try to fault in the page, then take an atomic kmap.  If the atomic
    copy_to_user() then faults, drop a printk and fall back to kmap().
    88a3b490
filemap.c 52.9 KB