lkml.org 
[lkml]   [2000]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch-2.4.0-test8-pre1] buglet in sk_init().
On Wed, 30 Aug 2000, Alan Cox wrote:

> > Wouldn't it be better if we move the null pointer test and the panic()
> > inside kmem_cache_create() similar to this
>
> Most kmem_cache_creates should not be fatal. I question the socket one
> in some ways

because it is ok to have a protocol family compiled but being unable
(i.e. oops) to instantiate a socket in that family? I see what you
mean... I can only imagine very rare situations when that is desirable -
e.g. on an distr. install kernel, it is better to have no valid sock cache
than panic on boot.

Regards,
Tigran

-
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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.049 / U:0.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site