]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: tsb size expansion
authorbob picco <bob.picco@oracle.com>
Tue, 18 Apr 2017 15:34:04 +0000 (11:34 -0400)
committerAllen Pais <allen.pais@oracle.com>
Mon, 15 May 2017 11:01:29 +0000 (16:31 +0530)
commit8c48304c161322faeb30a12c59546641e4c60172
tree898d80f503576b9962c2b9d8ed8ed4f7da1df5f7
parentd9d1a122b0bed50e33d1a1d605cfbfd2e9cf549f
sparc64: tsb size expansion

Orabug: 25448108

Some larger applications require a TSB size of magnitude not required by a
vast majority of processes. This commit enables the TSB to be expanded
to a size up to MAX_ORDER - 1, limited by TSB size order encoding and
finally limited by MMU hardware. The large TSB page order allocations are
not included in a kmem cache like current TSB sizes. The improvement is
done for tlb_type hypervisor and limited to recent sun4v. This patch should
not impact performance of other sparc64 core chip types.

Signed-off-by: Bob Picco <bob.picco@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
arch/sparc/include/asm/spitfire.h
arch/sparc/mm/tsb.c