From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <20020103225927.81907.qmail@web12305.mail.yahoo.com> Date: Thu, 3 Jan 2002 14:59:27 -0800 (PST) From: Ravi K Subject: Re: Allocation of kernel memory >128K In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linux-mm@kvack.org Return-Path: To: "Amit S. Jain" , linux-mm@kvack.org List-ID: > I WANT TO KNOW WHAT AMOUNT OF MEMORY ALLOCATION > WILL BE SAFE.i.e. even > if i alloc 30K at a time,will I always get a > contiguous memory for that > purpose.?? > Is there a set limit in Linux for the amount of > memory we obtain > will always be contiguous or always available?? No, there are no guarantees about availability of contiguous memory. But if you do not specify GFP_ATOMIC flag when calling kmalloc(), it will sleep till the requested amount of memory is available. Ravi. __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- 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-mm.org/