Re: what protects page lru list?

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

 



On Sat, Aug 20, 2011 at 02:11:53AM +0530, Rajesh Ghanekar wrote:
> Hi,
>    I am confused with what protects page->lru? Is it both zone->lru_lock or
> zone->lock? I can see it being protected either by lru_lock or lock.

It's not so much about page->lru but the actual list the page is
linked to.

The zone's lists of unallocated pages are protected by zone->lock,
while the LRU lists with the pages for userspace are protected by
zone->lru_lock.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]