From: James A. Sutherland <jas88@cam.ac.uk>
To: Kev <klmitch@MIT.EDU>
Cc: Simon Derr <Simon.Derr@imag.fr>, linux-mm@kvack.org
Subject: Re: Want to allocate almost all the memory with no swap
Date: Thu, 19 Apr 2001 17:11:34 +0100 [thread overview]
Message-ID: <0g3udt09u4dmcvhh11q6mnm7ithcjmbup4@4ax.com> (raw)
In-Reply-To: <200104191557.LAA28201@multics.mit.edu>
On Thu, 19 Apr 2001 11:57:45 -0400, you wrote:
>> Well, I have removed as many processes deamons as I could, and there are
>> not many left.
>> But under both 2.4.2 and 2.2.17 (with swap on)I get, when I run my
>> program:
>>
>> mlockall: Cannot allocate memory
>
>mlockall() requires root priviledges.
Uh... if calling mlockall() as a non-root user gives that error,
someone should fix the error returned...
Sorry, I should have mentioned that it required you to be root!
James.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
next prev parent reply other threads:[~2001-04-19 16:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-19 15:39 Simon Derr
2001-04-19 15:41 ` James A. Sutherland
2001-04-19 15:58 ` Simon Derr
2001-04-19 15:57 ` Kev
2001-04-19 16:11 ` James A. Sutherland [this message]
2001-04-19 16:12 ` Simon Derr
2001-04-19 16:10 ` James A. Sutherland
2001-04-19 16:46 ` Simon Derr
2001-04-19 16:56 ` Simon Derr
2001-04-19 17:51 ` Rik van Riel
2001-04-26 16:16 ` Szabolcs Szakacsits
2001-04-19 17:31 ` James A. Sutherland
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=0g3udt09u4dmcvhh11q6mnm7ithcjmbup4@4ax.com \
--to=jas88@cam.ac.uk \
--cc=Simon.Derr@imag.fr \
--cc=klmitch@MIT.EDU \
--cc=linux-mm@kvack.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox