Re: Phantom PMEM poison issue

2022-01-21 Thread Jane Chu
On 1/21/2022 5:51 PM, Tsaur, Erwin wrote: > Hi Jane, > > Is phantom error, an poison that was injected and then cleared, but somehow > shows up again? > How is "daxfs takes acation and clears the poison" by doing mailbox or writes? > Also how are you doing ARS? The phantom show up as soon as thi

Re: Phantom PMEM poison issue

2022-01-21 Thread Jane Chu
On 1/21/2022 5:27 PM, Luck, Tony wrote: > On Sat, Jan 22, 2022 at 12:40:18AM +, Jane Chu wrote: >> On 1/21/2022 4:31 PM, Jane Chu wrote: >>> On baremetal Intel platform with DCPMEM installed and configured to >>> provision daxfs, say a poison was consumed by a load from a user thread, >>> and t

RE: Phantom PMEM poison issue

2022-01-21 Thread Tsaur, Erwin
Hi Jane, Is phantom error, an poison that was injected and then cleared, but somehow shows up again? How is "daxfs takes acation and clears the poison" by doing mailbox or writes? Also how are you doing ARS? Erwin -Original Message- From: Luck, Tony Sent: Friday, January 21, 2022 5:

Re: Phantom PMEM poison issue

2022-01-21 Thread Luck, Tony
On Sat, Jan 22, 2022 at 12:40:18AM +, Jane Chu wrote: > On 1/21/2022 4:31 PM, Jane Chu wrote: > > On baremetal Intel platform with DCPMEM installed and configured to > > provision daxfs, say a poison was consumed by a load from a user thread, > > and then daxfs takes action and clears the poiso

Re: Phantom PMEM poison issue

2022-01-21 Thread Jane Chu
On 1/21/2022 4:31 PM, Jane Chu wrote: > On baremetal Intel platform with DCPMEM installed and configured to > provision daxfs, say a poison was consumed by a load from a user thread, > and then daxfs takes action and clears the poison, confirmed by "ndctl > -NM". > > Now, depends on the luck, afte

Phantom PMEM poison issue

2022-01-21 Thread Jane Chu
On baremetal Intel platform with DCPMEM installed and configured to provision daxfs, say a poison was consumed by a load from a user thread, and then daxfs takes action and clears the poison, confirmed by "ndctl -NM". Now, depends on the luck, after sometime(from a few seconds to 5+ hours) the

Re: [PATCH 1/5] mm: rmap: fix cache flush on THP pages

2022-01-21 Thread Yang Shi
On Thu, Jan 20, 2022 at 11:56 PM Muchun Song wrote: > > The flush_cache_page() only remove a PAGE_SIZE sized range from the cache. > However, it does not cover the full pages in a THP except a head page. > Replace it with flush_cache_range() to fix this issue. At least, no > problems were found du

Re: [PATCH v9 10/10] fsdax: set a CoW flag when associate reflink mappings

2022-01-21 Thread Shiyang Ruan
在 2022/1/21 15:16, Christoph Hellwig 写道: On Fri, Jan 21, 2022 at 10:33:58AM +0800, Shiyang Ruan wrote: But different question, how does this not conflict with: #define PAGE_MAPPING_ANON 0x1 in page-flags.h? Now we are treating dax pages, so I think its flags should be different fro