lkml.org 
[lkml]   [2006]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 8 of 13] Add a bootparameter to reserve high linear address space for hypervisors
Date

> + /*
> + * reservedtop=size reserves a hole at the top of the kernel
> + * address space which a hypervisor can load into later.
> + * Needed for dynamically loaded hypervisors, so relocating
> + * the fixmap can be done before paging initialization.
> + * This hole must be a multiple of 4M.
> + */
> + else if (!memcmp(from, "reservedtop=", 12)) {
> + unsigned long reserved = memparse(from+12, &from);
> + reserved &= ~0x3fffff;
> + set_fixaddr_top(-reserved);
> + }

You need to add a dummy __setup for it, otherwise it will end up in
init's environments or be warned about.

Also it should be documented somewhere in Documentation

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-08-01 23:51    [W:0.033 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site