]> git.baikalelectronics.ru Git - kernel.git/commit
mm: use kmap_local_page in memzero_page
authorChristoph Hellwig <hch@lst.de>
Fri, 23 Jul 2021 22:50:20 +0000 (15:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 24 Jul 2021 00:43:28 +0000 (17:43 -0700)
commit2be2fa8b7db126f8840d117464e26a38e544c6ba
tree0cb41491d2300e4d4ec455c597ed2d71a2bf70a8
parentf57c2bb29c14acc8a18439777a78a0d80317d38f
mm: use kmap_local_page in memzero_page

The commit message introducing the global memzero_page explicitly
mentions switching to kmap_local_page in the commit log but doesn't
actually do that.

Link: https://lkml.kernel.org/r/20210713055231.137602-3-hch@lst.de
Fixes: bf08e72595ff ("iov_iter: lift memzero_page() to highmem.h")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/highmem.h