Re: Commenting out out_of_memory() function in __alloc_pages()

From: Nick Piggin
Date: Sun Jul 09 2006 - 09:38:36 EST


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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/