Title: [8567] trunk/mm/page_alloc.c: Task[#2424] Restore NOMMU specific drop_pagecache after kernel update.
Revision
8567
Author
sonicz
Date
2010-03-29 06:33:43 -0400 (Mon, 29 Mar 2010)

Log Message

Task[#2424] Restore NOMMU specific drop_pagecache after kernel update.

Modified Paths

Diff

Modified: trunk/mm/page_alloc.c (8566 => 8567)


--- trunk/mm/page_alloc.c	2010-03-29 09:02:32 UTC (rev 8566)
+++ trunk/mm/page_alloc.c	2010-03-29 10:33:43 UTC (rev 8567)
@@ -1602,6 +1602,10 @@
 	if (gfp_mask & __GFP_NORETRY)
 		return 0;
 
+#ifndef CONFIG_MMU
+	drop_pagecache();
+#endif
+
 	/*
 	 * In this implementation, order <= PAGE_ALLOC_COSTLY_ORDER
 	 * means __GFP_NOFAIL, but that may not be true in other
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to