On Wed, 2 Nov 2016 11:33:51 +0300 "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx> wrote: > On Wed, Nov 02, 2016 at 07:12:48PM +1100, Nicholas Piggin wrote: > > On Wed, 2 Nov 2016 10:58:55 +0300 > > "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx> wrote: > > > > Oh my mistake, that should be something like PF_ONLY_HEAD, where > > > > #define PF_ONLY_HEAD(page, enforce) ({ \ > > VM_BUG_ON_PGFLAGS(PageTail(page), page); \ > > page; }) > > Feel free to rename PF_NO_TAIL :) > I think we don't need tests on non-head pages, so it's slightly different. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>