[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch to include EasyPG to Emacs

From: Jeremy Maitin-Shepard
Subject: Re: patch to include EasyPG to Emacs
Date: Sat, 16 Feb 2008 18:00:49 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

Andreas Schwab <address@hidden> writes:

> Jan Djärv <address@hidden> writes:
>> Richard Stallman skrev:
>>> There is still the problem, that one can't prevent Emacs from swapping
>>> out the content of such an buffer -- but that's a more generic problem
>>> (which was discussed briefly in an earlier thread IIRC).
>>> Isn't there a way to tell the system not to swap out certain pages?
>> There is mlock(2).

> The amount of memory that can be locked (by unprivileged processes) is
> quite limited (128kb typically).

Even if you somehow manage to prevent the system from swapping out the
memory used by Emacs to directly represent the buffer, other elisp code
that interacts with the buffer may end up copying portions of the buffer
contents to other locations in memory, or copied to other programs,
e.g. if a spell checking mode is used.

Jeremy Maitin-Shepard

reply via email to

[Prev in Thread] Current Thread [Next in Thread]