[SPARC64]: Increase swapper_tsb size to 32K.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
a8b900d801
commit
2f7ee7c63f
@@ -12,14 +12,6 @@
|
||||
#include <asm/pgtable.h>
|
||||
#include <asm/tsb.h>
|
||||
|
||||
/* We use an 8K TSB for the whole kernel, this allows to
|
||||
* handle about 4MB of modules and vmalloc mappings without
|
||||
* incurring many hash conflicts.
|
||||
*/
|
||||
#define KERNEL_TSB_SIZE_BYTES 8192
|
||||
#define KERNEL_TSB_NENTRIES \
|
||||
(KERNEL_TSB_SIZE_BYTES / sizeof(struct tsb))
|
||||
|
||||
extern struct tsb swapper_tsb[KERNEL_TSB_NENTRIES];
|
||||
|
||||
static inline unsigned long tsb_hash(unsigned long vaddr, unsigned long nentries)
|
||||
|
Reference in New Issue
Block a user