Whamcloud - gitweb
Branch HEAD
[fs/lustre-release.git] / lustre / kernel_patches / patches / export-nr_free_buffer_pages.patch
index 1d6712a..12149ec 100644 (file)
@@ -1,12 +1,12 @@
-Index: linux/mm/page_alloc.c
+Index: linux-2.6.18-128.1.6/mm/page_alloc.c
 ===================================================================
---- linux.orig/mm/page_alloc.c
-+++ linux/mm/page_alloc.c
-@@ -875,6 +875,7 @@ unsigned int nr_free_buffer_pages(void)
- {
-       return nr_free_zone_pages(GFP_USER & GFP_ZONEMASK);
+--- linux-2.6.18-128.1.6.orig/mm/page_alloc.c  2009-04-14 21:05:42.000000000 -0600
++++ linux-2.6.18-128.1.6/mm/page_alloc.c       2009-06-02 23:24:34.000000000 -0600
+@@ -877,6 +877,7 @@
+       }
+       return 1;
  }
 +EXPORT_SYMBOL(nr_free_buffer_pages);
  
  /*
-  * Amount of free RAM allocatable within all zones
+  * get_page_from_freeliest goes through the zonelist trying to allocate