+ reduce-max_nr_zones-swap_prefetch-remove-incorrect-use-of-zone_highmem.patch added to -mm tree

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

 



The patch titled

     swap_prefetch: Remove incorrect use of ZONE_HIGHMEM

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

     reduce-max_nr_zones-swap_prefetch-remove-incorrect-use-of-zone_highmem.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: Remove incorrect use of ZONE_HIGHMEM
From: Christoph Lameter <clameter@xxxxxxx>

swap_prefetch: Remove useless reference to HIGHMEM reserves.

HIGHMEM "reserves" are always zero. Remove the addition of the highmem
reserves.

Signed-off-by: Christoph Lameter <clameter@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

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

diff -puN mm/swap_prefetch.c~reduce-max_nr_zones-swap_prefetch-remove-incorrect-use-of-zone_highmem mm/swap_prefetch.c
--- a/mm/swap_prefetch.c~reduce-max_nr_zones-swap_prefetch-remove-incorrect-use-of-zone_highmem
+++ a/mm/swap_prefetch.c
@@ -277,8 +277,7 @@ 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[ZONE_HIGHMEM];
+		ns->lowfree[idx] = z->pages_high * 3;
 		ns->highfree[idx] = ns->lowfree[idx] + z->pages_high;
 
 		if (z->free_pages > ns->highfree[idx]) {
_

Patches currently in -mm which might be from clameter@xxxxxxx are

zvc-add-__inc_zone_state-for-smp-configuration.patch
reduce-max_nr_zones-remove-two-strange-uses-of-max_nr_zones.patch
reduce-max_nr_zones-fix-max_nr_zones-array-initializations.patch
reduce-max_nr_zones-make-display-of-highmem-counters-conditional-on-config_highmem.patch
reduce-max_nr_zones-move-highmem-counters-into-highmemc-h.patch
reduce-max_nr_zones-page-allocator-zone_highmem-cleanup.patch
reduce-max_nr_zones-use-enum-to-define-zones-reformat-and-comment.patch
reduce-max_nr_zones-make-zone_dma32-optional.patch
reduce-max_nr_zones-make-zone_highmem-optional.patch
reduce-max_nr_zones-remove-display-of-counters-for-unconfigured-zones.patch
reduce-max_nr_zones-fix-i386-srat-check-for-max_nr_zones.patch
reduce-max_nr_zones-swap_prefetch-remove-incorrect-use-of-zone_highmem.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