summary refs log tree commit diff
path: root/arch
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2021-11-05 10:19:05 -0400
committerMatthew Wilcox (Oracle) <willy@infradead.org>2021-11-18 15:05:56 -0500
commitc035713998700e8843c7d087f55bce3c54c0e3ec (patch)
tree6b5398c08fc4f9312aa87435422940f16a124924 /arch
parented2145c474c9015bc634e35f6d1a9b7767f3fbfc (diff)
downloadlinux-c035713998700e8843c7d087f55bce3c54c0e3ec.tar.gz
mm: Add functions to zero portions of a folio
These functions are wrappers around zero_user_segments(), which means
that zero_user_segments() can now be called for compound pages even when
CONFIG_TRANSPARENT_HUGEPAGE is disabled.

Use 'xend' as the name of the parameter to indicate that this is an
excluded end, not the more usual included end.  Excluding the end makes
more sense to the callers, but can cause confusion to readers who are
more used to seeing included ends.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions