]> git.baikalelectronics.ru Git - kernel.git/commit
iomap: Use kmap_local_page instead of kmap_atomic
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 5 Aug 2021 03:07:33 +0000 (20:07 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 5 Aug 2021 17:30:33 +0000 (10:30 -0700)
commita81885c1ca8e079286528fb73ac0660e89b6fbe9
tree1b86a2ef451f3d4a0ea834c8aa55309b74a18eff
parent07f60dd86b9d031e254ba038a24f1b742639608d
iomap: Use kmap_local_page instead of kmap_atomic

kmap_atomic() has the side-effect of disabling pagefaults and
preemption.  kmap_local_page() does not do this and is preferred.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/iomap/buffered-io.c