Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc: Fix comment explaining our VSID layout

We support 16TB of user address space and half a million contexts
so update the comment to reflect this.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

authored by

Anton Blanchard and committed by
Benjamin Herrenschmidt
b206590c 9f5072d4

+3 -4
+3 -4
arch/powerpc/include/asm/mmu-hash64.h
··· 312 312 * (i.e. everything above 0xC000000000000000), except the very top 313 313 * segment, which simplifies several things. 314 314 * 315 - * - We allow for 15 significant bits of ESID and 20 bits of 316 - * context for user addresses. i.e. 8T (43 bits) of address space for 317 - * up to 1M contexts (although the page table structure and context 318 - * allocation will need changes to take advantage of this). 315 + * - We allow for 16 significant bits of ESID and 19 bits of 316 + * context for user addresses. i.e. 16T (44 bits) of address space for 317 + * up to half a million contexts. 319 318 * 320 319 * - The scramble function gives robust scattering in the hash 321 320 * table (at least based on some initial results). The previous