[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4909F27D.7000701@ct.jp.nec.com>
Date: Thu, 30 Oct 2008 10:44:29 -0700
From: Hiroshi Shimamoto <h-shimamoto@...jp.nec.com>
To: Rusty Russell <rusty@...tcorp.com.au>
Cc: Ingo Molnar <mingo@...e.hu>, Mike Travis <travis@....com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -tip/cpus4096-v2] cpumask: fix cpumask of call_function_data
Rusty Russell wrote:
...
> From: Rusty Russell <rusty@...tcorp.com.au>
> cpumask: smp_call_function_many()
>
> Actually change smp_call_function_mask() to smp_call_function_many().
>
> S390 has its own version, so we do trivial conversion on that too.
>
> We have to do some dancing to figure out if 0 or 1 other cpus are in
> the mask supplied and the online mask without allocating a tmp
> cpumask. It's still fairly cheap.
>
> We allocate the cpumask at the end of the call_function_data
> structure: if allocation fails we fallback to smp_call_function_single
> rather than using the baroque quiescing code.
>
> (Thanks to Hiroshi Shimamoto for spotting several bugs in previous versions!)
>
> Signed-off-by: Rusty Russell <rusty@...tcorp.com.au>
> Signed-off-by: Mike Travis <travis@....com>
> Cc: Hiroshi Shimamoto <h-shimamoto@...jp.nec.com>
> Cc: schwidefsky@...ibm.com
> Cc: heiko.carstens@...ibm.com
Hi Rusty,
I'd like to know which tree this patch is against for.
thanks,
Hiroshi Shimamoto
--
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