diff options
author | Tejun Heo <tj@kernel.org> | 2012-10-05 02:13:28 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-05 20:04:58 +0200 |
commit | 8290e2d2dcbf0d379d4b1379e17916515ee20a39 (patch) | |
tree | b52a1e54446331aff7233ecdefdb8af479b33f5d /scripts | |
parent | lib/plist.c: make plist test announcements KERN_DEBUG (diff) | |
download | linux-8290e2d2dcbf0d379d4b1379e17916515ee20a39.tar.xz linux-8290e2d2dcbf0d379d4b1379e17916515ee20a39.zip |
scatterlist: atomic sg_mapping_iter() no longer needs disabled IRQs
SG mapping iterator w/ SG_MITER_ATOMIC set required IRQ disabled because
it originally used KM_BIO_SRC_IRQ to allow use from IRQ handlers.
kmap_atomic() has long been updated to handle stacking atomic mapping
requests on per-cpu basis and only requires not sleeping while mapped.
Update sg_mapping_iter such that atomic iterators only require disabling
preemption instead of disabling IRQ.
While at it, convert wte weird @ARG@ notations to @ARG in the comment of
sg_miter_start().
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: Alex Dubov <oakad@yahoo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions