Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.9 /mm/page_alloc.c

Filename:/mm/page_alloc.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.4.9-pre4  2.4.9-pre2  2.4.9-pre3  2.4.9-pre1  2.4.8-ac4  2.4.8-ac5 
(Following) 2.4.9-ac1  2.4.9-ac2  2.4.9-ac3  2.4.9-ac4  2.4.9-ac5  2.4.9-ac6 

Location
[  2.4.9
  [  mm
     o  page_alloc.c

Patch

diff -u --recursive --new-file v2.4.8/linux/mm/page_alloc.c linux/mm/page_alloc.c
--- v2.4.8/linux/mm/page_alloc.c   Sun Aug 12 13:28:01 2001
+++ linux/mm/page_alloc.c   Thu Aug 16 09:43:02 2001
@@ -448,7 +448,7 @@
        * to give up than to deadlock the kernel looping here.
        */
       if (gfp_mask & __GFP_WAIT) {
-         if (!order || total_free_shortage()) {
+         if (!order || free_shortage()) {
             int progress = try_to_free_pages(gfp_mask);
             if (progress || (gfp_mask & __GFP_FS))
                goto try_again;


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.