On Thu, Nov 10, 2016 at 02:06:14PM +0530, Anshuman Khandual wrote: > On 11/08/2016 05:01 AM, Naoya Horiguchi wrote: > > If one of callers of page migration starts to handle thp, memory management > > code > > start to see pmd migration entry, so we need to prepare for it before > > enabling. > > This patch changes various code point which checks the status of given pmds > > in > > order to prevent race between thp migration and the pmd-related works. > > There are lot of changes in this one patch. Should not we split > this up into multiple patches and explain them in a bit detail > through their commit messages ?
Yes, and I admit that I might change more than necessary, if the context never encounters migration entry for any reason, no change is needed. I'll dig more detail. - Naoya Horiguchi