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-next>] [day] [month] [year] [list]
Date:	Thu, 28 Oct 2010 16:13:34 +0100
From:	Mel Gorman <mel@....ul.ie>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	Shaohua Li <shaohua.li@...el.com>,
	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
	Christoph Lameter <cl@...ux.com>,
	David Rientjes <rientjes@...gle.com>,
	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
	LKML <linux-kernel@...r.kernel.org>,
	Linux-MM <linux-mm@...ck.org>, Mel Gorman <mel@....ul.ie>
Subject: [PATCH 0/2] Reduce the amount of time spent in watermark-related functions V4

Changelog since V3
  o Added Reviewed-bys
  o Added comment on why pressure_threshold is what it is
  o Make sure pressure threshold does not get over 125
  o Call get_online_cpus and put_online_cpus as appropriate

The following two patches are in response to a bug report by Shaohua Li
where the amount of time spent in zone_nr_free_pages() is unacceptable
for large machines. All the background is in the first patches leader. The
second patch replaces two setter functions with one function that takes a
callback function as a parameter.

 include/linux/mmzone.h |   10 ++------
 include/linux/vmstat.h |    7 ++++++
 mm/mmzone.c            |   21 ------------------
 mm/page_alloc.c        |   35 ++++++++++++++++++++++++-------
 mm/vmscan.c            |   25 +++++++++++++--------
 mm/vmstat.c            |   54 +++++++++++++++++++++++++++++++++++++++++++++--
 6 files changed, 103 insertions(+), 49 deletions(-)

Mel Gorman (2):
  mm: page allocator: Adjust the per-cpu counter threshold when memory
    is low
  mm: vmstat: Use a single setter function and callback for adjusting
    percpu thresholds

 include/linux/mmzone.h |   10 ++------
 include/linux/vmstat.h |    7 ++++++
 mm/mmzone.c            |   21 -------------------
 mm/page_alloc.c        |   35 ++++++++++++++++++++++++-------
 mm/vmscan.c            |   25 +++++++++++++---------
 mm/vmstat.c            |   52 +++++++++++++++++++++++++++++++++++++++++++++--
 6 files changed, 101 insertions(+), 49 deletions(-)

--
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