Re: mapcount corruption regression

2020-12-02 Thread Yi Zhang
Hi Dan diff --git a/arch/x86/mm/pgtable.c b/arch/x86/mm/pgtable.c index dfd82f51ba66..7ed99314dcdf 100644 --- a/arch/x86/mm/pgtable.c +++ b/arch/x86/mm/pgtable.c @@ -829,6 +829,7 @@ int pud_free_pmd_page(pud_t *pud, unsigned long addr) } free_page((unsigned long)pmd_sv); +

Re: mapcount corruption regression

2020-12-02 Thread Dan Williams
On Tue, Dec 1, 2020 at 9:07 PM Dan Williams wrote: > > On Tue, Dec 1, 2020 at 7:43 PM Matthew Wilcox wrote: > > > > On Tue, Dec 01, 2020 at 06:28:45PM -0800, Dan Williams wrote: > > > On Tue, Dec 1, 2020 at 12:49 PM Matthew Wilcox > > > wrote: > > > > > > > > On Tue, Dec 01, 2020 at 12:42:39PM

Re: mapcount corruption regression

2020-12-01 Thread Dan Williams
On Tue, Dec 1, 2020 at 7:43 PM Matthew Wilcox wrote: > > On Tue, Dec 01, 2020 at 06:28:45PM -0800, Dan Williams wrote: > > On Tue, Dec 1, 2020 at 12:49 PM Matthew Wilcox wrote: > > > > > > On Tue, Dec 01, 2020 at 12:42:39PM -0800, Dan Williams wrote: > > > > On Mon, Nov 30, 2020 at 6:24 PM

Re: mapcount corruption regression

2020-12-01 Thread Matthew Wilcox
On Tue, Dec 01, 2020 at 06:28:45PM -0800, Dan Williams wrote: > On Tue, Dec 1, 2020 at 12:49 PM Matthew Wilcox wrote: > > > > On Tue, Dec 01, 2020 at 12:42:39PM -0800, Dan Williams wrote: > > > On Mon, Nov 30, 2020 at 6:24 PM Matthew Wilcox > > > wrote: > > > > > > > > On Mon, Nov 30, 2020 at

Re: mapcount corruption regression

2020-12-01 Thread Dan Williams
On Tue, Dec 1, 2020 at 12:49 PM Matthew Wilcox wrote: > > On Tue, Dec 01, 2020 at 12:42:39PM -0800, Dan Williams wrote: > > On Mon, Nov 30, 2020 at 6:24 PM Matthew Wilcox wrote: > > > > > > On Mon, Nov 30, 2020 at 05:20:25PM -0800, Dan Williams wrote: > > > > Kirill, Willy, compound page

Re: mapcount corruption regression

2020-12-01 Thread Matthew Wilcox
On Tue, Dec 01, 2020 at 12:42:39PM -0800, Dan Williams wrote: > On Mon, Nov 30, 2020 at 6:24 PM Matthew Wilcox wrote: > > > > On Mon, Nov 30, 2020 at 05:20:25PM -0800, Dan Williams wrote: > > > Kirill, Willy, compound page experts, > > > > > > I am seeking some debug ideas about the following

Re: mapcount corruption regression

2020-12-01 Thread Dan Williams
On Mon, Nov 30, 2020 at 6:24 PM Matthew Wilcox wrote: > > On Mon, Nov 30, 2020 at 05:20:25PM -0800, Dan Williams wrote: > > Kirill, Willy, compound page experts, > > > > I am seeking some debug ideas about the following splat: > > > > BUG: Bad page state in process lt-pmem-ns pfn:121a12 > >

Re: mapcount corruption regression

2020-11-30 Thread Matthew Wilcox
On Mon, Nov 30, 2020 at 05:20:25PM -0800, Dan Williams wrote: > Kirill, Willy, compound page experts, > > I am seeking some debug ideas about the following splat: > > BUG: Bad page state in process lt-pmem-ns pfn:121a12 > page:51ef73f7 refcount:0 mapcount:-1024 >

Re: mapcount corruption regression

2020-11-30 Thread Dan Williams
On Mon, Nov 30, 2020 at 5:20 PM Dan Williams wrote: > > Kirill, Willy, compound page experts, > > I am seeking some debug ideas about the following splat: > > BUG: Bad page state in process lt-pmem-ns pfn:121a12 Looks to be a similar signature that Yi Zhang is seeing:

mapcount corruption regression

2020-11-30 Thread Dan Williams
Kirill, Willy, compound page experts, I am seeking some debug ideas about the following splat: BUG: Bad page state in process lt-pmem-ns pfn:121a12 page:51ef73f7 refcount:0 mapcount:-1024 mapping: index:0x0 pfn:0x121a12 flags: 0x28() raw: 0028