On 05/14/2015 06:34 PM, Leonid Yegoshin wrote:
SEGBITS default is 40 bits or less, depending from CPU type.I'm concerned that the change log doesn't convey the true reason for the
This patch introduces 48bits of application virtual address (SEGBITS) support.
It is defined only for 16K and 64K pages and is optional (configurable).
Penalty - a small number of additional pages for generic (small) applications.
But for 64K pages it adds 3rd level of PTE structure, which has a little
impact during software TLB refill.
This patch is needed because MIPS I6XXX and P6XXX cores have 48 bit of
virtual address in each segment (SEGBITS).
patch.
Many processors support larger VA space than is utilized by the kernel.
A choice was made to reduce the size of the VA space in order to
reduce TLB handling overhead.
If the true reason for the patch is to enable larger VA space, say that.
But is it really required by those processors you mention? I doubt it.
David Daney