Re: PAGE_SIZE query

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

 



On 20:42 Mon 21 Apr     , Nikhil Talpallikar wrote:
> Hi,
> 
> Then should not the PAGE_SHIFT be 13 for the page size to be 4k on a x86
> arch.?

1 << 0 = 1*2^0 = 1
1 << 1 = 1*2^1 = 2
1 << 2 = 1*2^2 = 4
1 << 3 = 1*2^3 = 8
...
1 << 12 = 1*2^12 = 4096
	-Michi
-- 
programing a layer 3 network protocol for mesh networks
see http://michaelblizek.homelinux.net


--
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