Skip to content

Commit 0176bd3

Browse files
committed
sh: Drop down to a single quicklist.
We previously had 2 quicklists, one for the PGD case and one for PTEs. Now that the PGD/PMD cases are handled through slab caches due to the multi-level configurability, only the PTE quicklist remains. As such, reduce NR_QUICK to its appropriate size and bump down the PTE quicklist index. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
1 parent a7595fe commit 0176bd3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/sh/include/asm/pgalloc.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <linux/quicklist.h>
55
#include <asm/page.h>
66

7-
#define QUICK_PT 1 /* Other page table pages that are zero on free */
7+
#define QUICK_PT 0 /* Other page table pages that are zero on free */
88

99
extern pgd_t *pgd_alloc(struct mm_struct *);
1010
extern void pgd_free(struct mm_struct *mm, pgd_t *pgd);

‎mm/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ config BOUNCE
195195
config NR_QUICK
196196
int
197197
depends on QUICKLIST
198-
default "2" if SUPERH || AVR32
198+
default "2" if AVR32
199199
default "1"
200200

201201
config VIRT_TO_BUS

0 commit comments

Comments
 (0)