From: Tejun Heo <tj@kernel.org>
To: Jan Beulich <JBeulich@novell.com>
Cc: mingo@elte.hu, andi@firstfloor.org, tglx@linutronix.de,
linux-kernel@vger.kernel.org, hpa@zytor.com
Subject: Re: [PATCH 4/5] x86: implement percpu_alloc kernel parameter
Date: Fri, 15 May 2009 18:27:22 +0900 [thread overview]
Message-ID: <4A0D357A.1070705@kernel.org> (raw)
In-Reply-To: <4A0D3E11020000780000109C@vpn.id2.novell.com>
Jan Beulich wrote:
>>>> Tejun Heo <tj@kernel.org> 15.05.09 06:28 >>>
>> @@ -395,6 +404,16 @@ out_free_ar:
>> return ret;
>> }
>>
>> +/* for explicit first chunk allocator selection */
>> +static char pcpu_chosen_alloc[16] __initdata;
>> +
>> +static int __init percpu_alloc_setup(char *str)
>> +{
>> + strncpy(pcpu_chosen_alloc, str, sizeof(pcpu_chosen_alloc) - 1);
>> + return 0;
>> +}
>> +early_param("percpu_alloc", percpu_alloc_setup);
>> +
>> static inline void setup_percpu_segment(int cpu)
>> {
>> #ifdef CONFIG_X86_32
>
> Does this really need to be early_param()? setup_per_cpu_areas()
> runs after setup_arch(), which is where the full command line
> parsing happens.
__setup() callbacks ran after PERCPU allocation. Confirmed with
printk.
Thanks.
--
tejun
next prev parent reply other threads:[~2009-05-15 9:28 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-15 4:28 [GIT PATCH 2.6.30-rc5] x86,percpu: fix pageattr handling with remap allocator, take#2 Tejun Heo
2009-05-15 4:28 ` [PATCH 1/5] x86: prepare setup_pcpu_remap() for pageattr fix Tejun Heo
2009-05-15 4:28 ` [PATCH 2/5] x86: reorganize cpa_process_alias() Tejun Heo
2009-05-15 9:35 ` [PATCH UPDATED " Tejun Heo
2009-05-15 4:28 ` [PATCH 3/5] x86: fix pageattr handling for remap percpu allocator Tejun Heo
2009-05-15 7:58 ` Jan Beulich
2009-05-15 8:18 ` Tejun Heo
2009-05-15 9:35 ` [PATCH UPDATED " Tejun Heo
2009-05-15 4:28 ` [PATCH 4/5] x86: implement percpu_alloc kernel parameter Tejun Heo
2009-05-15 8:04 ` Jan Beulich
2009-05-15 9:27 ` Tejun Heo [this message]
2009-05-15 4:28 ` [PATCH 5/5] x86: ensure percpu remap doesn't consume too much vmalloc space Tejun Heo
2009-05-15 9:36 ` [GIT PATCH 2.6.30-rc5] x86,percpu: fix pageattr handling with remap allocator, take#2 Tejun Heo
2009-05-15 9:52 ` [GIT PATCH 2.6.30-rc5] x86,percpu: fix pageattr handling withremap " Jan Beulich
[not found] ` <4A0D57920200007800001150@novell.com>
2009-05-15 10:08 ` Tejun Heo
-- strict thread matches above, loose matches on Subject: below --
2009-06-01 6:34 [GIT PATCH core/percpu] x86,percpu: fix pageattr handling with remap allocator, take#3 Tejun Heo
2009-06-01 6:34 ` [PATCH 4/5] x86: implement percpu_alloc kernel parameter Tejun Heo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A0D357A.1070705@kernel.org \
--to=tj@kernel.org \
--cc=JBeulich@novell.com \
--cc=andi@firstfloor.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.