public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Bug in kmem_cache_create with duplicate names
@ 2004-12-07 15:40 Steven Rostedt
  2004-12-07 15:33 ` Randy.Dunlap
  0 siblings, 1 reply; 8+ messages in thread
From: Steven Rostedt @ 2004-12-07 15:40 UTC (permalink / raw)
  To: LKML

Is it really necessary to BUG on creating a cache with a duplicate name?
Wouldn't it just be better to fail the create. The reason I mentioned
this is that I was writing some modules and after doing a cut and paste,
I forgot to change a name of a cache that was created by one module and
I used it in another existing module.  So you can say that it was indeed
a bug, but did it really need to crash my machine?  I aways check the
return codes in my modules, and I would have figured it out why it
failed, but I didn't expect a simple module to crash the machine the way
it did.  Well anyway it did definitely show me where my bug was.

Thanks,

-- Steve


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-12-07 18:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-07 15:40 Bug in kmem_cache_create with duplicate names Steven Rostedt
2004-12-07 15:33 ` Randy.Dunlap
2004-12-07 16:15   ` Arjan van de Ven
2004-12-07 15:42     ` Randy.Dunlap
     [not found]     ` <1102436777.25841.271.camel@localhost.localdomain>
2004-12-07 16:31       ` Steven Rostedt
2004-12-07 17:57         ` Peter W. Morreale
2004-12-07 18:24           ` Steven Rostedt
2004-12-07 16:21   ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox