* [PATCH 1/1] sched: Reduce stack size in isolated_cpu_setup()
@ 2008-07-01 17:32 Mike Travis
2008-07-18 9:56 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Mike Travis @ 2008-07-01 17:32 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Andrew Morton, LKML
Subject: sched: Reduce stack size in isolated_cpu_setup()
* Remove 16k stack requirements in isolated_cpu_setup when NR_CPUS=4096.
(Somehow this patch was misplaced from some months back.)
Based on linux-2.6.tip/master
Signed-off-by: Mike Travis <travis@sgi.com>
---
kernel/sched.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- linux-2.6.tip.orig/kernel/sched.c
+++ linux-2.6.tip/kernel/sched.c
@@ -6739,7 +6739,8 @@ static cpumask_t cpu_isolated_map = CPU_
/* Setup the mask of cpus configured for isolated domains */
static int __init isolated_cpu_setup(char *str)
{
- int ints[NR_CPUS], i;
+ static int __initdata ints[NR_CPUS];
+ int i;
str = get_options(str, ARRAY_SIZE(ints), ints);
cpus_clear(cpu_isolated_map);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] sched: Reduce stack size in isolated_cpu_setup()
2008-07-01 17:32 [PATCH 1/1] sched: Reduce stack size in isolated_cpu_setup() Mike Travis
@ 2008-07-18 9:56 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-07-18 9:56 UTC (permalink / raw)
To: Mike Travis; +Cc: Andrew Morton, LKML
* Mike Travis <travis@sgi.com> wrote:
> Subject: sched: Reduce stack size in isolated_cpu_setup()
>
> * Remove 16k stack requirements in isolated_cpu_setup when NR_CPUS=4096.
>
> (Somehow this patch was misplaced from some months back.)
>
> Based on linux-2.6.tip/master
applied to tip/sched/urgent - thanks Mike.
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-18 9:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-01 17:32 [PATCH 1/1] sched: Reduce stack size in isolated_cpu_setup() Mike Travis
2008-07-18 9:56 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox