Messages in this thread | | | Date | Wed, 27 Sep 2000 06:11:41 -0600 | From | yodaiken@fsmlabs ... | Subject | Re: the new VM |
| |
On Wed, Sep 27, 2000 at 09:42:45AM +0200, Ingo Molnar wrote: > > On Tue, 26 Sep 2000, Pavel Machek wrote: > of the VM allocation issues. Returning NULL in kmalloc() is just a way to > say: 'oops, we screwed up somewhere'. And i'd suggest to not work around
That is not at all how it is currently used in the kernel.
> such screwups by checking for NULL and trying to handle it. I suggest to > rather fix those screwups.
Kmalloc returns null when there is not enough memory to satisfy the request. What's wrong with that?
-- --------------------------------------------------------- Victor Yodaiken Finite State Machine Labs: The RTLinux Company. www.fsmlabs.com www.rtlinux.com
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |