Re: [RFC 4/4]x86: avoid tlbstate lock if no enough cpus
From: Eric Dumazet
Date: Wed Nov 03 2010 - 03:12:24 EST
Le mercredi 03 novembre 2010 Ã 15:06 +0800, Shaohua Li a Ãcrit :
> just don't want to include the non-present cpus here. I wonder why we
> haven't a variable to record online cpu number.
What prevents a 256 cpus machine, to have 8 online cpus that all use the
same TLB vector ?
(Max 32 vectors, so 8 cpus share each vector, settled at boot time)
Forget about 'online', and think 'possible' ;)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/