On Wed, 13 Oct 2010 16:10:43 +0900 (JST) KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> wrote: > When memory shortage, we are using drain_pages() for flushing per cpu > page cache. In this case, per cpu stat should be flushed too. because > now we are under memory shortage and we need to know exact free pages. > > Otherwise get_page_from_freelist() may fail even though pcp was flushed. > > > Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> But it seems performance measurement is necessary. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>