lkml.org 
[lkml]   [2004]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] mlock-as-user for 2.6.8-rc2-mm2
    * 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
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:04    [W:0.018 / U:5.596 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site