Re: [PATCH 2/2] mm: add PageWaiters bit to indicate waitqueue should be checked

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 02, 2016 at 07:40:24PM +1100, Nicholas Piggin wrote:
> 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.

Ah. Okay, fair enough.

-- 
 Kirill A. Shutemov

--
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>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]