Re: [PATCH 12/16] page-flags: define PG_mlocked behavior on compound pages

2016-05-18 Thread Kirill A. Shutemov
On Mon, Apr 18, 2016 at 03:44:59PM -0400, Sasha Levin wrote: > On 09/24/2015 10:51 AM, Kirill A. Shutemov wrote: > > Transparent huge pages can be mlocked -- whole compund page at once. > > Something went wrong if we're trying to mlock() tail page. > > Let's use PF_NO_TAIL. > > Kirill, Hugh, > >

Re: [PATCH 12/16] page-flags: define PG_mlocked behavior on compound pages

2016-04-18 Thread Sasha Levin
On 09/24/2015 10:51 AM, Kirill A. Shutemov wrote: > Transparent huge pages can be mlocked -- whole compund page at once. > Something went wrong if we're trying to mlock() tail page. > Let's use PF_NO_TAIL. Kirill, Hugh, I seem to be hitting this with trinity: [ 242.257552] page:ea0001517fc0