Skip to content

Commit

Permalink
sh: Drop down to a single quicklist.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
pmundt committed Jan 5, 2010
1 parent a7595fe commit 0176bd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/sh/include/asm/pgalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <linux/quicklist.h>
#include <asm/page.h>

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

extern pgd_t *pgd_alloc(struct mm_struct *);
extern void pgd_free(struct mm_struct *mm, pgd_t *pgd);
Expand Down
2 changes: 1 addition & 1 deletion mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ config BOUNCE
config NR_QUICK
int
depends on QUICKLIST
default "2" if SUPERH || AVR32
default "2" if AVR32
default "1"

config VIRT_TO_BUS
Expand Down

0 comments on commit 0176bd3

Please sign in to comment.