From: Frederic Weisbecker <fweisbec@gmail.com>
To: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: LKML <linux-kernel@vger.kernel.org>, Stable <stable@kernel.org>,
Ingo Molnar <mingo@elte.hu>,
Arnaldo Carvalho de Melo <acme@redhat.com>,
Paul Mackerras <paulus@samba.org>,
Stephane Eranian <eranian@google.com>
Subject: Re: [PATCH] perf: Rebase max unprivileged mlock threshold on top of page size
Date: Wed, 30 Mar 2011 16:53:28 +0200 [thread overview]
Message-ID: <20110330145324.GB2204@nowhere> (raw)
In-Reply-To: <1301496028.4859.183.camel@twins>
On Wed, Mar 30, 2011 at 04:40:28PM +0200, Peter Zijlstra wrote:
> On Wed, 2011-03-30 at 16:04 +0200, Frederic Weisbecker wrote:
> > +int sysctl_perf_event_mlock __read_mostly = (129 * PAGE_SIZE) / 1024; /* 'free' kb per user */
>
> I'm fairly sure you don't want to do this either:
> 512 + (PAGE_SIZE / 1024)
> should do I think, there's no reason to further inflate things for large
> page platforms.
Right, that also requires to fix tools that use a default number of pages instead
of computing nr_pages on top of page size and a default kb size.
Will respin by fixing both sides.
Thanks.
next prev parent reply other threads:[~2011-03-30 14:53 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-23 18:29 [PATCH] perf: Better fit max unprivileged mlock pages for tools needs Frederic Weisbecker
2011-03-23 18:38 ` Arnaldo Carvalho de Melo
2011-03-23 21:19 ` [tip:perf/urgent] " tip-bot for Frederic Weisbecker
2011-03-25 10:32 ` [PATCH] " Peter Zijlstra
2011-03-25 14:50 ` Frederic Weisbecker
2011-03-25 15:05 ` Peter Zijlstra
2011-03-30 14:04 ` [PATCH] perf: Rebase max unprivileged mlock threshold on top of page size Frederic Weisbecker
2011-03-30 14:40 ` Peter Zijlstra
2011-03-30 14:53 ` Frederic Weisbecker [this message]
2011-03-31 1:33 ` [PATCH 1/2 v2] " Frederic Weisbecker
2011-03-31 12:41 ` [tip:perf/urgent] " tip-bot for Frederic Weisbecker
2011-03-31 1:35 ` [PATCH 2/2] perf: Mmap 512 kiB by default Frederic Weisbecker
2011-03-31 8:09 ` Peter Zijlstra
2011-03-31 12:33 ` Frederic Weisbecker
2011-03-31 12:41 ` [tip:perf/urgent] perf: mmap " tip-bot for Frederic Weisbecker
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=20110330145324.GB2204@nowhere \
--to=fweisbec@gmail.com \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@redhat.com \
--cc=eranian@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=paulus@samba.org \
--cc=stable@kernel.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.