From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <44B0F0AA.20708@yahoo.com.au> Date: Sun, 09 Jul 2006 22:03:54 +1000 From: Nick Piggin MIME-Version: 1.0 Subject: Re: Commenting out out_of_memory() function in __alloc_pages() References: <1152446997.27368.52.camel@localhost.localdomain> In-Reply-To: <1152446997.27368.52.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Alan Cox Cc: "Abu M. Muttalib" , Robert Hancock , chase.venters@clientec.com, kernelnewbies@nl.linux.org, linux-newbie@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm List-ID: Alan Cox wrote: > Ar Sul, 2006-07-09 am 17:18 +0530, ysgrifennodd Abu M. Muttalib: > >>but I am running the application on an embedded device and have no swap.. >>what do I need to do in this case?? > > > Use less memory ? Abu, I guess you have turned on CONFIG_EMBEDDED and disabled everything you don't need, turned off full sized data structures, removed everything else you don't need from the kernel config, turned off kernel debugging (especially slab debugging). If you still have problems, what does /proc/slabinfo tell you when running your application under both 2.4 and 2.6? -- SUSE Labs, Novell Inc. Send instant messages to your online friends http://au.messenger.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/ . Don't email: email@kvack.org