Re: __alloc_pages: 0-order allocation failed

From: Arjan van de Ven (
Date: Mon Sep 24 2001 - 08:05:05 EST

Christian Bornträger wrote:
> > I just installed 2.4.10, and...
> > __alloc_pages: 0-order allocation failed (gfp=0x1d2/0) from c0126c2e
> I saw the same message when running this c++ programm.
> int main (int argc, char * argv[]) {
> char * test;
> while (1)
> test=new char[1024];
> }
> My dmesg:
> __alloc_pages: 0-order allocation failed (gfp=0x1d2/0) from c01219e7
> VM: killing process a.out

While this program is obviously "bad", it does show that something
is not right. It should print "OOM: killing process a.out" as the
kernel will have to deliberatly kill this "out of hand" program.
the "VM: killing" message means it could just as easily have killed
another program due to this DoS program...
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Sep 30 2001 - 21:00:22 EST