+ mm-swap-prefetch-fix-lowmem-reserve-calc.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     swap prefetch fix lowmem reserve calc

has been added to the -mm tree.  Its filename is

     mm-swap-prefetch-fix-lowmem-reserve-calc.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: swap prefetch fix lowmem reserve calc
From: Con Kolivas <kernel@xxxxxxxxxxx>


Correct the effect lowmem_reserve has on calculation of free limits in
swap_prefetch.

Signed-off-by: Con Kolivas <kernel@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 mm/swap_prefetch.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -puN mm/swap_prefetch.c~mm-swap-prefetch-fix-lowmem-reserve-calc mm/swap_prefetch.c
--- devel/mm/swap_prefetch.c~mm-swap-prefetch-fix-lowmem-reserve-calc	2006-05-18 02:16:47.000000000 -0700
+++ devel-akpm/mm/swap_prefetch.c	2006-05-18 02:16:47.000000000 -0700
@@ -276,7 +276,8 @@ static void examine_free_limits(void)
 
 		ns = &sp_stat.node[z->zone_pgdat->node_id];
 		idx = zone_idx(z);
-		ns->lowfree[idx] = z->pages_high * 3 + z->lowmem_reserve[idx];
+		ns->lowfree[idx] = z->pages_high * 3 +
+			z->lowmem_reserve[ZONE_HIGHMEM];
 		ns->highfree[idx] = ns->lowfree[idx] + z->pages_high;
 
 		if (z->free_pages > ns->highfree[idx]) {
_

Patches currently in -mm which might be from kernel@xxxxxxxxxxx are

swsusp-rework-memory-shrinker-rev-2.patch
mm-cleanup-swap-unused-warning.patch
sched-implement-smpnice.patch
sched-store-weighted-load-on-up.patch
sched-add-discrete-weighted-cpu-load-function.patch
sched-prevent-high-load-weight-tasks-suppressing-balancing.patch
sched-improve-stability-of-smpnice-load-balancing.patch
sched-add-above-background-load-function.patch
mm-implement-swap-prefetching.patch
mm-implement-swap-prefetching-fix.patch
mm-implement-swap-prefetching-sched-batch.patch
swap-prefetch-fix-lru_cache_add_tail.patch
swap-prefetch-fix-lru_cache_add_tail-tidy.patch
mm-swap-prefetch-fix-lowmem-reserve-calc.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux