Re: PAGE_SIZE query

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

 




Hi,

it is a one (1) represented as an unsigned long.

On Mon, Apr 21, 2008 at 5:55 PM, Nikhil Talpallikar <nikhil.talpallikar@xxxxxxxxx> wrote:
Hi,

What is "1UL" in PAGE_SIZE macro?

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

cheers,
Nikhil


[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