mm: infrastructure for correctly handling foreign pages on Xen
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm: allow for an alternate set of pages for userspace mappingsinclude/ mm/ mm/ | +21 | 4 replies | |
| 1/2 | mm: allow for an alternate set of pages for userspace mappingsinclude/ mm/ mm/ | +21 | 0 replies | |
| 2/2 | mm: add 'foreign' alias for the 'pinned' page flaginclude/ | +2 | 0 replies | |
| 2/2 | mm: add 'foreign' alias for the 'pinned' page flaginclude/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCHv1 0/2] mm: infrastructure for correctly handling foreign pages on Xen
These two patches are the common parts of a larger Xen series[1] fixing several long-standing bugs the handling of foreign[2] pages in Xen guests.
The first patch is required to fix get_user_pages[_fast]() with userspace space mappings of such foreign pages. Basically, pte_page() doesn't work so an alternate mechanism is needed to get the page from a VMA and address. By requiring mappings needing this method are 'special' this should not have an impact on the common use cases.
The second patch isn't essential but helps with readability of the resulting user of the page flag.
For further background reading see:
http://xenbits.xen.org/people/dvrabel/grant-improvements-C.pdf
David
[1] http://lists.xen.org/archives/html/xen-devel/2015-01/msg00326.html
[2] Another guest's page temporarily granted to this guest.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>