From mboxrd@z Thu Jan 1 00:00:00 1970 From: James A. Sutherland Subject: Re: Want to allocate almost all the memory with no swap Date: Thu, 19 Apr 2001 17:11:34 +0100 Message-ID: <0g3udt09u4dmcvhh11q6mnm7ithcjmbup4@4ax.com> References: <200104191557.LAA28201@multics.mit.edu> In-Reply-To: <200104191557.LAA28201@multics.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8BIT Sender: owner-linux-mm@kvack.org Return-Path: To: Kev Cc: Simon Derr , linux-mm@kvack.org List-ID: 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/