search for: 994ab66a9907

Displaying 3 results from an estimated 3 matches for "994ab66a9907".

2020 Sep 25
1
[PATCH 1/2] ext4/xfs: add page refcount helper
...to hide this detail. Signed-off-by: Ralph Campbell <rcampbell at nvidia.com> --- fs/dax.c | 8 ++++---- fs/ext4/inode.c | 2 +- fs/xfs/xfs_file.c | 2 +- include/linux/dax.h | 5 +++++ 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/fs/dax.c b/fs/dax.c index 994ab66a9907..8eddbcc0e149 100644 --- a/fs/dax.c +++ b/fs/dax.c @@ -358,7 +358,7 @@ static void dax_disassociate_entry(void *entry, struct address_space *mapping, for_each_mapped_pfn(entry, pfn) { struct page *page = pfn_to_page(pfn); - WARN_ON_ONCE(trunc && page_ref_count(page) > 1); + WARN...
2020 Sep 25
0
[PATCH 1/2] ext4/xfs: add page refcount helper
...ampbell <rcampbell at nvidia.com> > --- > fs/dax.c | 8 ++++---- > fs/ext4/inode.c | 2 +- > fs/xfs/xfs_file.c | 2 +- > include/linux/dax.h | 5 +++++ > 4 files changed, 11 insertions(+), 6 deletions(-) > > diff --git a/fs/dax.c b/fs/dax.c > index 994ab66a9907..8eddbcc0e149 100644 > --- a/fs/dax.c > +++ b/fs/dax.c > @@ -358,7 +358,7 @@ static void dax_disassociate_entry(void *entry, struct address_space *mapping, > for_each_mapped_pfn(entry, pfn) { > struct page *page = pfn_to_page(pfn); > > - WA...
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