• Miklos Szeredi's avatar
    fuse: don't use atomic kmap · 7909b1c6
    Miklos Szeredi authored
    Don't use atomic kmap for mapping userspace buffers in device
    This is necessary because the next patch (adding store notify)
    requires that caller of fuse_copy_page() may sleep between
    invocations.  The simplest way to ensure this is to change the atomic
    kmaps to non-atomic ones.
    Thankfully architectures where kmap() is not a no-op are going out of
    fashion, so we can ignore the (probably negligible) performance impact
    of this change.
    Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
dev.c 37.3 KB