android_kernel_motorola_sm6375/drivers/dax
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Vivek Goyal 3161993224
UPSTREAM: dax, pmem: Add a dax operation zero_page_range
Add a dax operation zero_page_range, to zero a page. This will also clear any
known poison in the page being zeroed.

As of now, zeroing of one page is allowed in a single call. There
are no callers which are trying to zero more than a page in a single call.
Once we grow the callers which zero more than a page in single call, we
can add that support. Primary reason for not doing that yet is that this
will add little complexity in dm implementation where a range might be
spanning multiple underlying targets and one will have to split the range
into multiple sub ranges and call zero_page_range() on individual targets.

Suggested-by: Christoph Hellwig <hch@infradead.org>
Change-Id: Id86c5bac0824101755c69eb8822760fd05007210
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
Link: https://lore.kernel.org/r/20200228163456.1587-3-vgoyal@redhat.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2026-05-08 21:46:12 +02:00
..
pmem memremap: move dev_pagemap callbacks into a separate structure 2019-07-02 14:32:44 -03:00
bus.c dax: Fix alloc_dax_region() compile warning 2020-10-01 13:17:15 +02:00
bus.h dax: Fix alloc_dax_region() compile warning 2020-10-01 13:17:15 +02:00
dax-private.h dax: Fix alloc_dax_region() compile warning 2020-10-01 13:17:15 +02:00
device.c device-dax: use the dev_pagemap internal refcount 2019-07-02 14:32:44 -03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
kmem.c device-dax: don't leak kernel memory to user space after unloading kmem 2020-05-27 17:46:48 +02:00
Makefile device-dax: "Hotplug" persistent memory for use like normal RAM 2019-02-28 10:41:23 -08:00
super.c UPSTREAM: dax, pmem: Add a dax operation zero_page_range 2026-05-08 21:46:12 +02:00