Re: [PATCH] mm:rmap: use the pra.mapcount to do the check

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

 



On Thu, Apr 04, 2019 at 11:08:33PM +0000, Mike Kravetz wrote:
> On 4/3/19 10:48 PM, Huang Shijie wrote:
> > We have the pra.mapcount already, and there is no need to call
> > the page_mapped() which may do some complicated computing
> > for compound page.
> > 
> > Signed-off-by: Huang Shijie <sjhuang@xxxxxxxxxxx>
> 
> This looks good to me.  I had to convince myself that there were no
> issues if we were operating on a sub-page of a compound-page.  However,
> Kirill is the expert here and would know of any subtle issues I may have
> overlooked.

Looks good to me.

Acked-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>

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