On Wed, 8 Feb 2006, Dipankar Sarma wrote: > > One would think so, but I recall not all archs did that. Alpha for > example sets up cpu_possible_map in smp_prepare_cpus(). It however > makes more sense to fix the arch then use NR_CPUS, IMO. Ehh? alpha does it in setup_smp(), which in turn is called very early from setup_arch(). Were you perhaps thinking of something else? Or am I just going blind and confused? Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] percpu data: only iterate over possible CPUs
- From: Dipankar Sarma <[email protected]>
- Re: [PATCH] percpu data: only iterate over possible CPUs
- References:
- Re: [PATCH] percpu data: only iterate over possible CPUs
- From: Heiko Carstens <[email protected]>
- Re: [PATCH] percpu data: only iterate over possible CPUs
- From: Eric Dumazet <[email protected]>
- Re: [PATCH] percpu data: only iterate over possible CPUs
- From: Linus Torvalds <[email protected]>
- Re: [PATCH] percpu data: only iterate over possible CPUs
- From: Andrew Morton <[email protected]>
- Re: [PATCH] percpu data: only iterate over possible CPUs
- From: Linus Torvalds <[email protected]>
- Re: [PATCH] percpu data: only iterate over possible CPUs
- From: Dipankar Sarma <[email protected]>
- Re: [PATCH] percpu data: only iterate over possible CPUs
- Prev by Date: Taking a break from Kernel Traffic
- Next by Date: Re: [PATCH] new tty buffering locking fix
- Previous by thread: Re: [PATCH] percpu data: only iterate over possible CPUs
- Next by thread: Re: [PATCH] percpu data: only iterate over possible CPUs
- Index(es):