Re: Question about page count

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

 



Hey Mulyadi,

On Mon, Jun 20, 2011 at 10:15 PM, Mulyadi Santosa
<mulyadi.santosa@xxxxxxxxx> wrote:
...snip...
> looking at how page_count implemented, it checks whether the related
> page is gonna be reclaimed or a compound page (not sure what it is).
> If so, returns the first page of that "page".

On the ARM, you can setup the MMU to map 1Mb regions or 4Kb regions. A
1 Mb region only goes through the top level of the MMU, whereas a 4K
page has to go through 2 levesl, so accessing pages through the 1 Mb
mapping is faster.

I believe (I'm not 100% sure) that the 256 x 4K pages that make up the
1Mb region are a compound page.

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[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