Re: [PATCH] mm, thp: close race between mremap() and split_huge_page()

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

 



On Wed, May 07, 2014 at 05:13:32PM -0700, Michel Lespinasse wrote:
> On Tue, May 6, 2014 at 6:06 AM, Johannes Weiner <hannes@xxxxxxxxxxx> wrote:
> > Fixes: 108d6642ad81 ("mm anon rmap: remove anon_vma_moveto_tail")
> 
> I think 108d6642ad81 on its own was OK (as it always took the locks);
> but the attempt to not take them in the common case in 38a76013ad80 is
> where I forgot to consider the THP case.

108d6642ad81 replaced the chain ordering with an explicit lock, but I
see the unconditional locking only in move_ptes(), which isn't called
for THP pmds.
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]