Re: ARCH_FREE_PTE_NR 5350 on x86_64

From: Nick Piggin
Date: Mon Oct 15 2007 - 03:26:33 EST


On Monday 15 October 2007 16:54, Alok kataria wrote:
> Hi,
>
> Looking at the tlb_flush code path and its co-relation with
> ARCH_FREE_PTE_NR, on x86-64 architecture. I think we still don't use
> the ARCH_FREE_PTE_NR of 5350 as the caching value for the mmu_gathers
> structure, instead fallback to using 506 due to some typo errors in
> the code.
>
> Found this link in the archives.
>
> http://www.ussg.iu.edu/hypermail/linux/kernel/0509.1/1821.html
>
> I don't think anything has been done on this yet (looked at 2.6.23).
> Do let me know if its only a typo that needs a fix, or we are still
> waiting for some other other changes to come into effect.

ARCH_FREE_PTE_NR should probably just get ripped out completely at
this point. Something similar (but working) could be added back if
anybody actually had a workload where it helps to increase the mmu
batch size.
-
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/