lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200801281800.24780.ak@suse.de>
Date:	Mon, 28 Jan 2008 18:00:24 +0100
From:	Andi Kleen <ak@...e.de>
To:	Paul Jackson <pj@....com>
Cc:	Mike Travis <travis@....com>, ioe-lkml@...eria.de,
	akpm@...ux-foundation.org, mingo@...e.hu, clameter@....com,
	linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/5] x86: Add config variables for SMP_MAX


> The problem in kernel/sched.c:isolated_cpu_setup() is an array of
> NR_CPUS integers:
> 
>     static int __init isolated_cpu_setup(char *str)
>     {
> 	    int ints[NR_CPUS], i;
> 
> 	    str = get_options(str, ARRAY_SIZE(ints), ints);
> 
> Since isolated_cpu_setup() is an __init routine, perhaps we could
> make that ints[] array static __initdata?

That or use alloc_bootmem / free_bootmem

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ