Re: 2.2.12: kmalloc: Size (4294959124) too large

Benjamin LaHaise (kernel@kvack.org)
Fri, 27 Aug 1999 11:12:19 -0400 (EDT)


> > > Something tried to allocate negative bytes.
> >
> > Yep, but what ? Is there a way to let kmalloc print a stack trace
> > when this happens? *(int*)0=0; should cause an oops, right ?
>
> On x86 yes

Isn't that what BUG(); is for? =)

-ben

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/