xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Document pagetable_reserve PVOP and enforce a better semantic
@ 2012-08-10 14:17 Attilio Rao
  2012-08-10 14:17 ` [PATCH 1/2] XEN, X86: Improve semantic support for pagetable_reserve PVOP Attilio Rao
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Attilio Rao @ 2012-08-10 14:17 UTC (permalink / raw)
  To: xen-devel, Stefano Stabellini, Konrad Rzeszutek Wilk; +Cc: Attilio Rao

When looking for documenting the pagetable_reserve PVOP, I realized that it
assumes start == pgt_buf_start. I think this is not semantically right
(even if with the current code this should not be a problem in practice) and
what we really want is to extend the logic in order to do the RO -> RW
convertion also for the range [pgt_buf_start, start).
This patch then implements this missing conversion, adding some smaller
cleanups and finally provides documentation for the PVOP.
Please look at 2/2 for more details on how the comment is structured.
If we get this right we will have a reference to be used later on for others
PVOPs.
A preliminary version of this patch has been already reviewed by
Stefano Stabellini.

Attilio Rao (2):
  XEN, X86: Improve semantic support for pagetable_reserve PVOP
  Document the semantic of the pagetable_reserve PVOP

 arch/x86/include/asm/x86_init.h |   19 +++++++++++++++++--
 arch/x86/mm/init.c              |    4 ++++
 arch/x86/xen/mmu.c              |   22 ++++++++++++++++++++--
 3 files changed, 41 insertions(+), 4 deletions(-)

-- 
1.7.2.5

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

end of thread, other threads:[~2012-08-13 20:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-10 14:17 [PATCH 0/2] Document pagetable_reserve PVOP and enforce a better semantic Attilio Rao
2012-08-10 14:17 ` [PATCH 1/2] XEN, X86: Improve semantic support for pagetable_reserve PVOP Attilio Rao
2012-08-13 20:43   ` Konrad Rzeszutek Wilk
2012-08-10 14:17 ` [PATCH 2/2] Document the semantic of the " Attilio Rao
2012-08-13 20:42 ` [PATCH 0/2] Document pagetable_reserve PVOP and enforce a better semantic Konrad Rzeszutek Wilk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).