Re: [v6 08/15] mm: zero struct pages during initialization

2017-08-11 Thread Pasha Tatashin
I believe this deserves much more detailed explanation why this is safe. What actually prevents any pfn walker from seeing an uninitialized struct page? Please make your assumptions explicit in the commit log so that we can check them independently. There is nothing prevents pfn walkers from

Re: [v6 08/15] mm: zero struct pages during initialization

2017-08-11 Thread Michal Hocko
On Mon 07-08-17 16:38:42, Pavel Tatashin wrote: > Add struct page zeroing as a part of initialization of other fields in > __init_single_page(). I believe this deserves much more detailed explanation why this is safe. What actually prevents any pfn walker from seeing an uninitialized struct page?