[PATCH v2 0/6] mm/devm_memremap_pages: Fix page release race

2019-05-07 Thread Dan Williams
Changes since v1 [1]: - Fix a NULL-pointer deref crash in pci_p2pdma_release() (Logan) - Refresh the p2pdma patch headers to match the format of other p2pdma patches (Bjorn) - Collect Ira's reviewed-by [1]: https://lore.kernel.org/lkml/155387324370.2443841.574715745262628837.st...@dwillia2-de

Re: [PATCH v2 0/6] mm/devm_memremap_pages: Fix page release race

2019-05-16 Thread Jane Chu
Hi, I'm able to reproduce the panic below by running two sets of ndctl commands that actually serve legitimate purpose in parallel (unlike the brute force experiment earlier), each set in a indefinite loop. This time it takes about an hour to panic. But I gather the cause is probably the same: I

Re: [PATCH v2 0/6] mm/devm_memremap_pages: Fix page release race

2019-05-16 Thread jane . chu
Apology for resending in plain text. -jane On 5/16/19 9:45 AM, Jane Chu wrote: Hi, I'm able to reproduce the panic below by running two sets of ndctl commands that actually serve legitimate purpose in parallel (unlike the brute force experiment earlier), each set in a indefinite loop. This time

Re: [PATCH v2 0/6] mm/devm_memremap_pages: Fix page release race

2019-05-16 Thread Dan Williams
On Thu, May 16, 2019 at 9:45 AM Jane Chu wrote: > > Hi, > > I'm able to reproduce the panic below by running two sets of ndctl > commands that actually serve legitimate purpose in parallel (unlike > the brute force experiment earlier), each set in a indefinite loop. > This time it takes about an h

Re: [PATCH v2 0/6] mm/devm_memremap_pages: Fix page release race

2019-05-16 Thread Jane Chu
On 5/16/2019 2:51 PM, Dan Williams wrote: On Thu, May 16, 2019 at 9:45 AM Jane Chu wrote: Hi, I'm able to reproduce the panic below by running two sets of ndctl commands that actually serve legitimate purpose in parallel (unlike the brute force experiment earlier), each set in a indefinite lo

Re: [PATCH v2 0/6] mm/devm_memremap_pages: Fix page release race

2019-05-30 Thread Dan Williams
On Mon, May 13, 2019 at 12:22 PM Logan Gunthorpe wrote: > > > > On 2019-05-08 11:05 a.m., Logan Gunthorpe wrote: > > > > > > On 2019-05-07 5:55 p.m., Dan Williams wrote: > >> Changes since v1 [1]: > >> - Fix a NULL-pointer deref crash in pci_p2pdma_release() (Logan) > >> > >> - Refresh the p2pdma

Re: [PATCH v2 0/6] mm/devm_memremap_pages: Fix page release race

2019-05-08 Thread Logan Gunthorpe
On 2019-05-07 5:55 p.m., Dan Williams wrote: Changes since v1 [1]: - Fix a NULL-pointer deref crash in pci_p2pdma_release() (Logan) - Refresh the p2pdma patch headers to match the format of other p2pdma patches (Bjorn) - Collect Ira's reviewed-by [1]: https://lore.kernel.org/lkml/155387

Re: [PATCH v2 0/6] mm/devm_memremap_pages: Fix page release race

2019-05-13 Thread Logan Gunthorpe
On 2019-05-08 11:05 a.m., Logan Gunthorpe wrote: > > > On 2019-05-07 5:55 p.m., Dan Williams wrote: >> Changes since v1 [1]: >> - Fix a NULL-pointer deref crash in pci_p2pdma_release() (Logan) >> >> - Refresh the p2pdma patch headers to match the format of other p2pdma >>patches (Bjorn) >>

Re: [PATCH v2 0/6] mm/devm_memremap_pages: Fix page release race

2019-05-14 Thread Jane Chu
On 5/13/2019 12:22 PM, Logan Gunthorpe wrote: On 2019-05-08 11:05 a.m., Logan Gunthorpe wrote: On 2019-05-07 5:55 p.m., Dan Williams wrote: Changes since v1 [1]: - Fix a NULL-pointer deref crash in pci_p2pdma_release() (Logan) - Refresh the p2pdma patch headers to match the format of other

Re: [PATCH v2 0/6] mm/devm_memremap_pages: Fix page release race

2019-05-14 Thread Dan Williams
On Tue, May 14, 2019 at 11:53 AM Jane Chu wrote: > > On 5/13/2019 12:22 PM, Logan Gunthorpe wrote: > > On 2019-05-08 11:05 a.m., Logan Gunthorpe wrote: > > On 2019-05-07 5:55 p.m., Dan Williams wrote: > > Changes since v1 [1]: > - Fix a NULL-pointer deref crash in pci_p2pdma_release() (Logan) > >

Re: [PATCH v2 0/6] mm/devm_memremap_pages: Fix page release race

2019-05-14 Thread Jane Chu
On 5/14/2019 12:04 PM, Dan Williams wrote: On Tue, May 14, 2019 at 11:53 AM Jane Chu wrote: On 5/13/2019 12:22 PM, Logan Gunthorpe wrote: On 2019-05-08 11:05 a.m., Logan Gunthorpe wrote: On 2019-05-07 5:55 p.m., Dan Williams wrote: Changes since v1 [1]: - Fix a NULL-pointer deref crash in p