lkml.org 
[lkml]   [2012]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 28/46] x86, mm: Add pointer about Xen mmu requirement for alloc_low_pages
On Mon, 12 Nov 2012, Yinghai Lu wrote:
> From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
>
> Add link to commit 279b706 for more information
>
> Signed-off-by: Yinghai Lu <yinghai@kernel.org>

ah, here it is, OK then

> arch/x86/mm/init.c | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c
> index f5e0120..a7939ed 100644
> --- a/arch/x86/mm/init.c
> +++ b/arch/x86/mm/init.c
> @@ -25,6 +25,11 @@ 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 for detail info.
^detailed

> + */
> __ref void *alloc_low_pages(unsigned int num)
> {
> unsigned long pfn;
> --
> 1.7.7
>


\
 
 \ /
  Last update: 2012-11-13 18:21    [W:0.301 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site