All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wright <chrisw@osdl.org>
To: Rik van Riel <riel@redhat.com>
Cc: Arjan van de Ven <arjanv@redhat.com>,
	Andrew Morton <akpm@osdl.org>,
	chrisw@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mlock-as-user for 2.6.8-rc2-mm2
Date: Wed, 4 Aug 2004 14:45:04 -0700	[thread overview]
Message-ID: <20040804144504.P1924@build.pdx.osdl.net> (raw)
In-Reply-To: <Pine.LNX.4.44.0408041727140.9630-100000@dhcp83-102.boston.redhat.com>; from riel@redhat.com on Wed, Aug 04, 2004 at 05:28:06PM -0400

* Rik van Riel (riel@redhat.com) wrote:
> On Wed, 4 Aug 2004, Arjan van de Ven wrote:
> > On Wed, Aug 04, 2004 at 02:24:01PM -0700, Andrew Morton wrote:
> 
> > > Can you think of some way in which we can artificially tweak the patch
> > > for testing so that its new features are getting some exercise?
> > 
> > gpg uses mlock (well it tries to) which is why the fedora patch has a
> > 4Kb default ;)
> 
> I guess we need to figure out how much memory gpg mlocks by
> default (16kB?) and set the default rlimit to that.  Then
> every gpg user out there will automatically test the code ;)

Last time I checked it wants 8 pages (32k).

thanks,
-chris
-- 
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net

      reply	other threads:[~2004-08-04 21:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-04 17:55 [PATCH] mlock-as-user for 2.6.8-rc2-mm2 Rik van Riel
2004-08-04 21:01 ` Chris Wright
2004-08-04 21:06   ` Rik van Riel
2004-08-04 21:24     ` Andrew Morton
2004-08-04 21:22       ` Arjan van de Ven
2004-08-04 21:28         ` Rik van Riel
2004-08-04 21:45           ` Chris Wright [this message]

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=20040804144504.P1924@build.pdx.osdl.net \
    --to=chrisw@osdl.org \
    --cc=akpm@osdl.org \
    --cc=arjanv@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=riel@redhat.com \
    /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.