Re: How to change page size.

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

 



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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux