lkml.org 
[lkml]   [2008]   [Mar]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 8 Mar 2008 14:03:34 +0900
FromKAMEZAWA Hiroyuki <>
SubjectRe: [PATCH] [6/13] Core maskable allocator
On Fri,  7 Mar 2008 10:07:16 +0100 (CET)
Andi Kleen <andi@firstfloor.org> wrote:

> +static int __init setup_maskzone(char *s)
> +{
> +	do {
> +		if (isdigit(*s)) {
> +			mask_zone_size = memparse(s, &s);
> +		} else if (!strncmp(s, "force", 5)) {
> +			force_mask = 1;
> +			s += 5;
> +		} else
> +			return -EINVAL;
> +		if (*s == ',')
> +			++s;
> +	} while (*s);
> +	return 0;
> +}
> +early_param("maskzone", setup_maskzone);

please confirm mask_zone_size is aligned to MAX_ORDER.

Thanks,
-Kame



\
 
 \ /
  Last update: 2008-03-08 06:01    [from the cache]
©2003-2008