• Sebastian Andrzej Siewior's avatar
    block: don't disable interrupts during kmap_atomic() · f3a1075e
    Sebastian Andrzej Siewior authored
    bounce_copy_vec() disables interrupts around kmap_atomic(). This is a
    leftover from the old kmap_atomic() implementation which relied on fixed
    mapping slots, so the caller had to make sure that the same slot could not
    be reused from an interrupting context.
    
    kmap_atomic() was changed to dynamic slots long ago and commit 1ec9c5dd
    ("include/linux/highmem.h: remove the second argument of k[un]map_atomic()")
    removed the slot assignements, but the callers were not checked for now
    redundant interrupt disabling.
    
    Remove the conditional interrupt disable.
    Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    f3a1075e
bounce.c 6.8 KB