[PATCH] Use kmap_atomic() for generic_file_read()
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().
Showing
Please register or sign in to comment