]> git.baikalelectronics.ru Git - kernel.git/commit
[XFS] Don't use kmap in xfs_iozero.
authorDavid Chinner <dgc@sgi.com>
Sat, 10 Feb 2007 07:37:46 +0000 (18:37 +1100)
committerTim Shimmin <tes@sgi.com>
Sat, 10 Feb 2007 07:37:46 +0000 (18:37 +1100)
commitc8d43b9266f8619700e9f5189a6b20c831031151
tree7a3e7e8ba879bbd72f55cbada44ebe542b179087
parentfc599b5a2c02d50fc70b4fcc61a4d37cd1215120
[XFS] Don't use kmap in xfs_iozero.

kmap() is inefficient and does not scale well. kmap_atomic() is a better
choice. Use the generic wrapper function instead of open coding the
kmap-memset-dcache flush-kunmap stuff.

SGI-PV: 960904
SGI-Modid: xfs-linux-melb:xfs-kern:28041a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/linux-2.6/xfs_lrw.c