Re: [PATCH] mm: skip checking poison pattern for page_to_nid()

2018-12-19 Thread Qian Cai
On 12/19/18 5:20 AM, Michal Hocko wrote: > On Tue 18-12-18 20:57:32, Qian Cai wrote: > [...] >> diff --git a/include/linux/mm.h b/include/linux/mm.h >> index 5411de93a363..f083f366ea90 100644 >> --- a/include/linux/mm.h >> +++ b/include/linux/mm.h >> @@ -985,9 +985,7 @@ extern int page_to_nid(const

Re: [PATCH] mm: skip checking poison pattern for page_to_nid()

2018-12-19 Thread Michal Hocko
On Tue 18-12-18 20:57:32, Qian Cai wrote: [...] > diff --git a/include/linux/mm.h b/include/linux/mm.h > index 5411de93a363..f083f366ea90 100644 > --- a/include/linux/mm.h > +++ b/include/linux/mm.h > @@ -985,9 +985,7 @@ extern int page_to_nid(const struct page *page); > #else > static inline int

[PATCH] mm: skip checking poison pattern for page_to_nid()

2018-12-18 Thread Qian Cai
Kernel panic with page_owner=on CONFIG_DEBUG_VM_PGFLAGS=y PAGE_OWNER=y NODE_NOT_IN_PAGE_FLAGS=n This is due to f165b378bbd (mm: uninitialized struct page poisoning sanity checking) shoots itself in the foot. [ 11.917212] page:ea000420 is uninitialized and poisoned [ 11.917220] raw: f