b33467764d8a mm/migrate: Introduce migrate_misplaced_page()
bolts onto the side of migration and introduces MIGRATE_FAULT which
should not have been necessary. Already complained about.
The alternative uses the existing migrate_pages() function but has
different requirements for taking a reference to the page.
ca2ea0747a5b mm/mpol: Add MPOL_MF_LAZY
We more or less share this except I backed out the userspace visible bits
in a separate patch because I didn't think it had been carefully reviewed
how an application should use it and if it was a good idea. Covered in an
earlier review.
cd203e33c39d mm/mpol: Add MPOL_MF_NOOP
I have a patch that backs this out on the grounds that I don't think we
have adequately discussed if it was the correct userspace interface. I
know Peter put a lot of time into it so it's probably correct but
without man pages or spending time writing an example program that used
it, I played safe.
6fe64360a759 mm: Only flush the TLB when clearing an accessible pte
I missed this. Stupid stupid stupid! It would reduce the TLB flushes from
migration context.
e9df40bfeb25 x86/mm: Introduce pte_accessible()
prot_none.
is a good foundation already with no WIP policy bits in it.
Mel, could you please work on this basis, or point out the bits
you don't agree with so I can fix it?
My main hangup is the prot_none choice and I know it's something we have
butted heads on without progress. I feel it is a lot cleaner to have
the _PAGE_NUMA bit (even if it's PROT_NONE underneath) and the helpers
avoid function calls where possible.