Re: [PATCH v1 1/2] mm: clarify semantics of reserved pages

2018-07-23 Thread Michal Hocko
On Fri 20-07-18 14:34:21, David Hildenbrand wrote: > The reserved bit once was used to hinder pages from getting swapped. While > this still works, Does it? There is no single PageReserved check in the reclaim path. I have no idea when we stopped checking but it must be lng ago. > the semanti

[PATCH v1 1/2] mm: clarify semantics of reserved pages

2018-07-20 Thread David Hildenbrand
The reserved bit once was used to hinder pages from getting swapped. While this still works, the semantics are a little bit stronger nowadays: The page should never be touched by anybody in the system except by the owner. The original comment already gave a hint about that. So especially, these pa