[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to change page size.



In file include/asm-i386/page.h , change PAGE_SHIFT.
Can I know why you want to do that ? You use hugepages instead.

/* PAGE_SHIFT determines the page size */
#define PAGE_SHIFT      12
#define PAGE_SIZE       (1UL << PAGE_SHIFT)
#define PAGE_MASK       (~(PAGE_SIZE-1))


Thanks,
-Guru