All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv1 0/2] mm: infrastructure for correctly handling foreign pages on Xen
@ 2015-01-08 15:28 ` David Vrabel
  0 siblings, 0 replies; 14+ messages in thread
From: David Vrabel @ 2015-01-08 15:28 UTC (permalink / raw)
  To: Andrew Morton, linux-kernel
  Cc: David Vrabel, linux-mm, xen-devel, Konrad Rzeszutek Wilk,
	Boris Ostrovsky

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 majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-01-08 17:50 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-08 15:28 [PATCHv1 0/2] mm: infrastructure for correctly handling foreign pages on Xen David Vrabel
2015-01-08 15:28 ` David Vrabel
2015-01-08 15:28 ` [PATCH 1/2] mm: allow for an alternate set of pages for userspace mappings David Vrabel
2015-01-08 15:28 ` David Vrabel
2015-01-08 15:28   ` David Vrabel
2015-01-08 17:20   ` Johannes Weiner
2015-01-08 17:20   ` Johannes Weiner
2015-01-08 17:20     ` Johannes Weiner
2015-01-08 17:50     ` David Vrabel
2015-01-08 17:50       ` David Vrabel
2015-01-08 17:50     ` David Vrabel
2015-01-08 15:28 ` [PATCH 2/2] mm: add 'foreign' alias for the 'pinned' page flag David Vrabel
2015-01-08 15:28 ` David Vrabel
2015-01-08 15:28   ` David Vrabel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.