]> git.baikalelectronics.ru Git - kernel.git/commit
memremap: remove support for external pgmap refcounts
authorChristoph Hellwig <hch@lst.de>
Thu, 28 Oct 2021 15:10:17 +0000 (17:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:23:43 +0000 (14:23 +0200)
commit401f4b2eb0d3a8671b9c98933a881d16220016b4
tree929792ee2134d3d498c9cad12cde961bfb689a00
parent8a35d56a8a441965182e31b1cec22c14f0da05fe
memremap: remove support for external pgmap refcounts

[ Upstream commit 29502878ab2e730790bd166529855311b3f6f5b7 ]

No driver is left using the external pgmap refcount, so remove the
code to support it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20211028151017.50234-1-hch@lst.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pci/p2pdma.c
include/linux/memremap.h
mm/memremap.c
tools/testing/nvdimm/test/iomap.c