[PATCH] urxvtd and mlock

Russell Harmon russ at eatnumber1.com
Thu Jan 22 14:00:55 CET 2009


according to the red hat people:
https://bugzilla.redhat.com/show_bug.cgi?id=405781
it's been fixed since glibc 2.7

I could add an ifdef to make sure it's a glibc >= 2.7

On Thu, Jan 22, 2009 at 00:19, Marc Lehmann <schmorp at schmorp.de> wrote:

> On Wed, Jan 21, 2009 at 01:44:00PM -0500, Russell Harmon <
> russ at eatnumber1.com> wrote:
> > I wrote a patch that adds a --lock option to urxvtd to call mlockall on
> > itself. This prevents urxvtd from ever being swapped. Patch follows:
>
> Unfortunately, mlockall causes memory corruption with current versions of
> glibc, and since glibc is about the main target, this is not a good diea at
> the moment.
>
> --
>                The choice of a       Deliantra, the free code+content MORPG
>      -----==-     _GNU_              http://www.deliantra.net
>      ----==-- _       generation
>      ---==---(_)__  __ ____  __      Marc Lehmann
>      --==---/ / _ \/ // /\ \/ /      pcg at goof.com
>      -=====/_/_//_/\_,_/ /_/\_\
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/rxvt-unicode/attachments/20090122/e6f58c0a/attachment.html>


More information about the rxvt-unicode mailing list