Re: [patch] tlb flush_data: replace per_cpu with an array
- From: Frederik Deweerdt <frederik.deweerdt@xxxxxxxx>
- Date: Wed, 14 Jan 2009 15:41:15 +0100
On Wed, Jan 14, 2009 at 10:08:11AM +0100, Andi Kleen wrote:
To be fair, it also depends on whenever HOTPLUG_CPU is on or not (if it
It also would save some memory
on most distros out there (Ubuntu x86_64 has NR_CPUS=64 by default).
As pointed out several times this claim in the changelog is incorrect.
Please fix it.
A correct description would be:
- This patch wastes memory of one configured cache line for each CPU
on systems with less than 8 cores (e.g. 896 bytes on a 1 core system
with CONFIG_GENERIC_CPU/ cache line size 128)
It saves some memory on systems with more than 8 cores (one cache
line size for each core above 8)
is we allocate NR_CPUS percpu sections). In that case, which is Ubuntu's
and Fedora's, we do save memory.
This would make for a fairly long changelog, how about a link to this
thread, and removing the NR_CPUS bit?
Regards,
Frederik
--
-Andi
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/
- Follow-Ups:
- Re: [patch] tlb flush_data: replace per_cpu with an array
- From: Andi Kleen
- Re: [patch] tlb flush_data: replace per_cpu with an array
- References:
- [patch] tlb flush_data: replace per_cpu with an array
- From: Frederik Deweerdt
- Re: [patch] tlb flush_data: replace per_cpu with an array
- From: Ravikiran G Thirumalai
- Re: [patch] tlb flush_data: replace per_cpu with an array
- From: Ingo Molnar
- Re: [patch] tlb flush_data: replace per_cpu with an array
- From: Peter Zijlstra
- Re: [patch] tlb flush_data: replace per_cpu with an array
- From: Andi Kleen
- [patch] tlb flush_data: replace per_cpu with an array
- Prev by Date: Re: [4/7] dst: thread pool.
- Next by Date: Re: linux kernel without file system
- Previous by thread: Re: [patch] tlb flush_data: replace per_cpu with an array
- Next by thread: Re: [patch] tlb flush_data: replace per_cpu with an array
- Index(es):
Relevant Pages
|
Loading