Re: Changing the PAGE SIZE

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

 



On Mon, May 11, 2009 at 9:53 PM, Sandeep K Sinha
<sandeepksinha@xxxxxxxxx> wrote:
> Does x86 support 8K pages???
>
> IMO, No.
>
> On Mon, May 11, 2009 at 8:18 PM, Vikash Kumar <vikashskumar@xxxxxxxxx>
> wrote:
>>
>> Dear all,
>>
>> I am trying to increase the default page size (by default 4k) for x86. As
>> I understand I need to modify the PAGE_SHIFT macro in
>> "include/asm-x86/page.h" to achieve this. I changed the default value of 12
>> to 13 (to make the page size 8K). But when I build the kernel and try to
>> boot using it, I get crash

Adding what Sandeep has said, 4K is default page size. Other than
that, you're left with 2MB or 4MB page size ...but AFAIK you need to
turn on PSE (page size extension). And probably hugetlb too.

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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