lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 6 Jul 2012 06:46:24 -0700
From:	tip-bot for Johannes Weiner <hannes@...xchg.org>
To:	linux-tip-commits@...r.kernel.org
Cc:	mingo@...nel.org, torvalds@...ux-foundation.org,
	a.p.zijlstra@...llo.nl, efault@....de, riel@...hat.com,
	aarcange@...hat.com, suresh.b.siddha@...el.com, tglx@...utronix.de,
	laijs@...fujitsu.com, linux-kernel@...r.kernel.org, hpa@...or.com,
	pjt@...gle.com, hannes@...xchg.org, paulmck@...ux.vnet.ibm.com,
	bharata.rao@...il.com, Lee.Schermerhorn@...com, danms@...ibm.com
Subject: [tip:sched/core] mm: Fix vmstat names-values off-by-one

Commit-ID:  1d349dc80b3191fb654a04e3648e025258e80d46
Gitweb:     http://git.kernel.org/tip/1d349dc80b3191fb654a04e3648e025258e80d46
Author:     Johannes Weiner <hannes@...xchg.org>
AuthorDate: Fri, 6 Jul 2012 12:32:55 +0200
Committer:  Ingo Molnar <mingo@...nel.org>
CommitDate: Fri, 6 Jul 2012 12:52:09 +0200

mm: Fix vmstat names-values off-by-one

Commit e975d6ac08f3 (""mm/mpol: Remove NUMA_INTERLEAVE_HIT") removed
the NUMA_INTERLEAVE_HIT item from the zone_stat_item enum, but left
the corresponding name string for it in the vmstat_text array.

As a result, all counters that follow it have their name offset
by one from their value.

Signed-off-by: Johannes Weiner <hannes@...xchg.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Paul Turner <pjt@...gle.com>
Cc: Suresh Siddha <suresh.b.siddha@...el.com>
Cc: Mike Galbraith <efault@....de>
Cc: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
Cc: Lai Jiangshan <laijs@...fujitsu.com>
Cc: Dan Smith <danms@...ibm.com>
Cc: Bharata B Rao <bharata.rao@...il.com>
Cc: Lee Schermerhorn <Lee.Schermerhorn@...com>
Cc: Andrea Arcangeli <aarcange@...hat.com>
Cc: Rik van Riel <riel@...hat.com>
Cc: linux-mm@...ck.org
Link: http://lkml.kernel.org/r/20120706103255.GA23680@cmpxchg.org
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
 mm/vmstat.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/mm/vmstat.c b/mm/vmstat.c
index 1bbbbd9..e4db312 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -717,7 +717,6 @@ const char * const vmstat_text[] = {
 	"numa_hit",
 	"numa_miss",
 	"numa_foreign",
-	"numa_interleave",
 	"numa_local",
 	"numa_other",
 #endif
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ