Skip to contentSkip to conversation

question about cpu_active_mask

DISCUSSION Mark Hounschell 2 participants 3 messages Dec 17, 2013 – Dec 18, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

I hope it is OK to ask a newbie question here. I'm trying to better understand the boot process. I can't seem to find where in the kernel sources the cpu_active_mask (defined in include/linux/cpumask.h) gets populated. I can see that it does get populated as it brings cpus online but it is not obvious to me where. I'm using a 32 bit 3.4.x flavor kernel.

Sorry for the noise and thanks for any pointers

Regards
Mark

#1 lore raw
Quoted 5 lines · Mark Hounschell

I hope it is OK to ask a newbie question here. I'm trying to better understand the boot process. I can't seem to find where in the kernel sources the cpu_active_mask (defined in include/linux/cpumask.h) gets populated. I can see that it does get populated as it brings cpus online but it is not obvious to me where. I'm using a 32 bit 3.4.x flavor kernel.

Try git grep set_cpu_active.

-Mike

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 9 lines · Mike Galbraith
Quoted 5 lines · Mark Hounschell

I hope it is OK to ask a newbie question here. I'm trying to better understand the boot process. I can't seem to find where in the kernel sources the cpu_active_mask (defined in include/linux/cpumask.h) gets populated. I can see that it does get populated as it brings cpus online but it is not obvious to me where. I'm using a 32 bit 3.4.x flavor kernel.

Try git grep set_cpu_active.

Got it. Thanks for that.

Regards
Mark