use of
get_zeroed_page(unsigned int flags); or
get_free_page(unsigned int flags);
might help you.
Thanks,
Pritam
On Thu, Dec 8, 2011 at 9:47 PM, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> wrote:
Hi...
As Greg said, you probably better use vmalloc for such allocation.
On Thu, Dec 8, 2011 at 02:06, mindentropy <mindentropy@xxxxxxxxx> wrote:
>> mind to tell us, how do you allocate memory? kmalloc?
> Via kmalloc.
Vmalloc can deal with non contigous physical pages...
Alright, I just thought it will be better if we understand the overall
>>
>> furthermore, could you kindly paste the content of /proc/meminfo right
>> before OOM kicks in?
> Its kind of tough to do it as it happens so fast. I will try to write a script
> which polls.
virtual memory situation better.
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
--
Pritam Bankar
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies