Skip to content

Commit

Permalink
x86, mm: Add pointer about Xen mmu requirement for alloc_low_pages
Browse files Browse the repository at this point in the history
Add link for more information
	279b706 x86,xen: introduce x86_init.mapping.pagetable_reserve

-v2: updated to commets from hpa to include commit name.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1353123563-3103-29-git-send-email-yinghai@kernel.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
  • Loading branch information
Stefano Stabellini authored and H. Peter Anvin committed Nov 17, 2012
1 parent 22c8ca2 commit ddd3509
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions arch/x86/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ unsigned long __meminitdata pgt_buf_top;

static unsigned long min_pfn_mapped;

/*
* Pages returned are already directly mapped.
*
* Changing that is likely to break Xen, see commit:
*
* 279b706 x86,xen: introduce x86_init.mapping.pagetable_reserve
*
* for detailed information.
*/
__ref void *alloc_low_pages(unsigned int num)
{
unsigned long pfn;
Expand Down

0 comments on commit ddd3509

Please sign in to comment.