![]() | ||||||||||
Messages in this thread |
On Tue, 15 Jan 2008 10:02:30 +0900 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> wrote: > + > + notify_threshold = (zone->pages_high + > + zone->lowmem_reserve[MAX_NR_ZONES-1]) * 2; > + Why MAX_NR_ZONES-1 ? > + if (unlikely((prev_free <= notify_threshold) && > + (zone_page_state(zone, NR_FREE_PAGES) > notify_threshold))) > + memory_pressure_notify(zone, 0); > } How about this == if (unlikely(zone->mem_notify_status && ...) Thanks, -Kame -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | |||||||||
| Last update: 2008-01-15 01:05 [from the cache] ©2003-2008 | ||||||||||