diff options
author | Tejun Heo <tj@kernel.org> | 2012-10-05 00:13:28 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-05 18:04:58 (GMT) |
commit | 8290e2d2dcbf0d379d4b1379e17916515ee20a39 (patch) | |
tree | b52a1e54446331aff7233ecdefdb8af479b33f5d /fs/namespace.c | |
parent | 17d7aac9a55b164874f3d4b7b4f5af87ab457b84 (diff) | |
download | linux-fsl-qoriq-8290e2d2dcbf0d379d4b1379e17916515ee20a39.tar.xz |
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 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions