All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] xen/grant-table: Avoid m2p_override during mapping
@ 2014-01-13 19:08 Zoltan Kiss
  2014-01-13 19:08 ` [PATCH v2 1/2] " Zoltan Kiss
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Zoltan Kiss @ 2014-01-13 19:08 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk, Boris Ostrovsky, David Vrabel,
	Thomas Gleixner, Ingo Molnar, H. Peter Anvin, x86, xen-devel,
	linux-kernel, Roger Pau Monné, Jan Beulich, Ian Campbell
  Cc: Zoltan Kiss

The grant mapping API does m2p_override unnecessarily: only gntdev needs it,
for blkback and future netback patches it just cause a lock contention, as
those pages never go to userspace. Therefore this series does the following:
- move the m2p_override part from grant_[un]map_refs to gntdev, where it is
  needed after mapping operations
- but move set_phys_to_machine from m2p_override to gnttab_[un]map_refs,
  because it is needed always
- update the function prototypes as kmap_ops are no longer needed

v2:
- move the storing of the old mfn in page->index to gnttab_map_refs
- move the function header update to a separate patch

Signed-off-by: Zoltan Kiss <zoltan.kiss@citrix.com>
Suggested-by: David Vrabel <david.vrabel@citrix.com>


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

end of thread, other threads:[~2014-01-18 21:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-13 19:08 [PATCH v2 0/2] xen/grant-table: Avoid m2p_override during mapping Zoltan Kiss
2014-01-13 19:08 ` [PATCH v2 1/2] " Zoltan Kiss
2014-01-13 19:08 ` Zoltan Kiss
2014-01-16 16:18   ` Stefano Stabellini
2014-01-16 16:18   ` [Xen-devel] " Stefano Stabellini
2014-01-18 21:01   ` Zoltan Kiss
2014-01-18 21:01   ` Zoltan Kiss
2014-01-13 19:08 ` [PATCH v2 2/2] xen/grant-table: Remove kmap_ops Zoltan Kiss
2014-01-13 19:08 ` Zoltan Kiss

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.