diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2018-05-04 16:32:45 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-05-07 23:26:36 +0200 |
commit | f3a1075e5fc3434f1b7af601180dd976b754ec0c (patch) | |
tree | 2863a95901ab2e0677373ef5b62ecde51b05d32b /Documentation/features | |
parent | Fix typo in comment. (diff) | |
download | linux-f3a1075e5fc3434f1b7af601180dd976b754ec0c.tar.xz linux-f3a1075e5fc3434f1b7af601180dd976b754ec0c.zip |
block: don't disable interrupts during kmap_atomic()
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 1ec9c5ddc17a
("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: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/features')
0 files changed, 0 insertions, 0 deletions