From: Ingo Molnar <mingo@kernel.org>
To: linux-kernel@vger.kernel.org, linux-mm@kvack.org
Cc: Paul Turner <pjt@google.com>,
Lee Schermerhorn <Lee.Schermerhorn@hp.com>,
Christoph Lameter <cl@linux.com>, Rik van Riel <riel@redhat.com>,
Mel Gorman <mgorman@suse.de>,
Andrew Morton <akpm@linux-foundation.org>,
Andrea Arcangeli <aarcange@redhat.com>,
Linus Torvalds <torvalds@linux-foundation.org>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
Thomas Gleixner <tglx@linutronix.de>,
Hugh Dickins <hughd@google.com>
Subject: [PATCH 0/3, v2] mprotect() and working set sampling optimizations
Date: Wed, 14 Nov 2012 10:18:48 +0100 [thread overview]
Message-ID: <1352884731-20024-1-git-send-email-mingo@kernel.org> (raw)
Ok, people suggested to split out the change_protection() modification
into a third patch.
This series implements an mprotect() optimization that also
helps improve the quality of working set scanning:
- working set scanning gets faster
- we can scan with a touched-page rate, instead of with a
virtual-memory proportional rate (within limits).
This is already part of numa/core, but wanted to send it out
separately as well, to get specific feedback for the mprotect()
bits.
Thanks,
Ingo
---
Ingo Molnar (1):
mm: Optimize the TLB flush of sys_mprotect() and change_protection()
users
Peter Zijlstra (2):
mm: Count the number of pages affected in change_protection()
sched, numa, mm: Count WS scanning against present PTEs, not virtual
memory ranges
include/linux/hugetlb.h | 8 ++++++--
include/linux/mm.h | 6 +++---
kernel/sched/fair.c | 37 +++++++++++++++++++++----------------
mm/hugetlb.c | 10 ++++++++--
mm/mprotect.c | 46 ++++++++++++++++++++++++++++++++++------------
5 files changed, 72 insertions(+), 35 deletions(-)
--
1.7.11.7
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
WARNING: multiple messages have this Message-ID (diff)
From: Ingo Molnar <mingo@kernel.org>
To: linux-kernel@vger.kernel.org, linux-mm@kvack.org
Cc: Paul Turner <pjt@google.com>,
Lee Schermerhorn <Lee.Schermerhorn@hp.com>,
Christoph Lameter <cl@linux.com>, Rik van Riel <riel@redhat.com>,
Mel Gorman <mgorman@suse.de>,
Andrew Morton <akpm@linux-foundation.org>,
Andrea Arcangeli <aarcange@redhat.com>,
Linus Torvalds <torvalds@linux-foundation.org>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
Thomas Gleixner <tglx@linutronix.de>,
Hugh Dickins <hughd@google.com>
Subject: [PATCH 0/3, v2] mprotect() and working set sampling optimizations
Date: Wed, 14 Nov 2012 10:18:48 +0100 [thread overview]
Message-ID: <1352884731-20024-1-git-send-email-mingo@kernel.org> (raw)
Ok, people suggested to split out the change_protection() modification
into a third patch.
This series implements an mprotect() optimization that also
helps improve the quality of working set scanning:
- working set scanning gets faster
- we can scan with a touched-page rate, instead of with a
virtual-memory proportional rate (within limits).
This is already part of numa/core, but wanted to send it out
separately as well, to get specific feedback for the mprotect()
bits.
Thanks,
Ingo
---
Ingo Molnar (1):
mm: Optimize the TLB flush of sys_mprotect() and change_protection()
users
Peter Zijlstra (2):
mm: Count the number of pages affected in change_protection()
sched, numa, mm: Count WS scanning against present PTEs, not virtual
memory ranges
include/linux/hugetlb.h | 8 ++++++--
include/linux/mm.h | 6 +++---
kernel/sched/fair.c | 37 +++++++++++++++++++++----------------
mm/hugetlb.c | 10 ++++++++--
mm/mprotect.c | 46 ++++++++++++++++++++++++++++++++++------------
5 files changed, 72 insertions(+), 35 deletions(-)
--
1.7.11.7
next reply other threads:[~2012-11-14 9:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-14 9:18 Ingo Molnar [this message]
2012-11-14 9:18 ` [PATCH 0/3, v2] mprotect() and working set sampling optimizations Ingo Molnar
2012-11-14 9:18 ` [PATCH 1/3] mm: Count the number of pages affected in change_protection() Ingo Molnar
2012-11-14 9:18 ` Ingo Molnar
2012-11-14 9:18 ` [PATCH 2/3] sched, numa, mm: Count WS scanning against present PTEs, not virtual memory ranges Ingo Molnar
2012-11-14 9:18 ` Ingo Molnar
2012-11-14 9:18 ` [PATCH 3/3] mm: Optimize the TLB flush of sys_mprotect() and change_protection() users Ingo Molnar
2012-11-14 9:18 ` Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1352884731-20024-1-git-send-email-mingo@kernel.org \
--to=mingo@kernel.org \
--cc=Lee.Schermerhorn@hp.com \
--cc=a.p.zijlstra@chello.nl \
--cc=aarcange@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=cl@linux.com \
--cc=hughd@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mgorman@suse.de \
--cc=pjt@google.com \
--cc=riel@redhat.com \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.