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

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

Advertisement

Kernel v2.3.49 /mm/page_alloc.c

Filename:/mm/page_alloc.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.3.48  2.3.47  2.3.44  2.3.43  2.3.41  2.3.38 
(Following) 2.3.50  2.3.99-pre1  2.3.99-pre2  2.3.99-pre3  2.3.99-pre4  2.3.99-pre6 

Location
[  2.3.49
  [  mm
     o  page_alloc.c

Patch

diff -u --recursive --new-file v2.3.48/linux/mm/page_alloc.c linux/mm/page_alloc.c
--- v2.3.48/linux/mm/page_alloc.c   Sat Feb 26 22:32:07 2000
+++ linux/mm/page_alloc.c   Thu Mar  2 11:51:29 2000
@@ -337,7 +337,7 @@
    zone_t *zone;
    int i;
 
-   sum = nr_lru_pages - atomic_read(&page_cache_size);
+   sum = nr_lru_pages;
    for (i = 0; i < NUMNODES; i++)
       for (zone = NODE_DATA(i)->node_zones; zone <= NODE_DATA(i)->node_zones+ZONE_NORMAL; zone++)
          sum += zone->free_pages;


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