Re: [PATCH 7/8] mm: Always check PagePolicyNoCompound

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

 



On Fri, Apr 13, 2018 at 09:31:44PM -0700, Matthew Wilcox wrote:
> From: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx>
> 
> Currently, we're only checking that a page is not compound when we're
> setting or clearing a bit.  We should probably be checking the page
> isn't compound when testing the bit too.

Well, we can definately try this, but I'm worried about false-positives in
speculative code path.

Maybe downgrade it WARN_ONCE() or something?

-- 
 Kirill A. Shutemov




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

  Powered by Linux