Displaying 3 results from an estimated 3 matches for "untrack_pfn".
2012 Nov 16
5
[ 3009.778974] mcelog:16842 map pfn expected mapping type write-back for [mem 0x0009f000-0x000a0fff], got uncached-minus
Hi Konrad,
Sometime ago i reported this one at boot up:
[ 3009.778974] mcelog:16842 map pfn expected mapping type write-back for [mem 0x0009f000-0x000a0fff], got uncached-minus
[ 3009.788570] ------------[ cut here ]------------
[ 3009.798175] WARNING: at arch/x86/mm/pat.c:774 untrack_pfn+0xa1/0xb0()
[ 3009.807966] Hardware name: MS-7640
[ 3009.817677] Modules linked in:
[ 3009.827524] Pid: 16842, comm: mcelog Tainted: G W 3.7.0-rc5-20121116-reverted-persistent-warn-patwarn #1
[ 3009.837415] Call Trace:
[ 3009.847110] [<ffffffff810674fa>] warn_slowpath_common+0x7a/0...
2020 Sep 25
0
[PATCH 2/2] mm: remove extra ZONE_DEVICE struct page refcount
...each_device_pfn(pfn, pgmap)
- put_page(pfn_to_page(pfn));
+ percpu_ref_put_many(pgmap->ref, pfn_end(pgmap) - pfn_first(pgmap));
dev_pagemap_cleanup(pgmap);
/* make sure to access a memmap that was actually initialized */
@@ -158,7 +114,6 @@ void memunmap_pages(struct dev_pagemap *pgmap)
untrack_pfn(NULL, PHYS_PFN(res->start), resource_size(res));
pgmap_array_delete(res);
WARN_ONCE(pgmap->altmap.alloc, "failed to free all reserved pages\n");
- devmap_managed_enable_put();
}
EXPORT_SYMBOL_GPL(memunmap_pages);
@@ -192,7 +147,6 @@ void *memremap_pages(struct dev_pagemap *p...
2020 Sep 25
6
[RFC PATCH v2 0/2] mm: remove extra ZONE_DEVICE struct page refcount
Matthew Wilcox, Ira Weiny, and others have complained that ZONE_DEVICE
struct page reference counting is ugly because they are "free" when the
reference count is one instead of zero. This leads to explicit checks
for ZONE_DEVICE pages in places like put_page(), GUP, THP splitting, and
page migration which have to adjust the expected reference count when
determining if the page is