public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* subsystem_unregister() breakage in -mm
@ 2007-09-25 22:27 Miklos Szeredi
  2007-09-25 22:53 ` Greg KH
  0 siblings, 1 reply; 9+ messages in thread
From: Miklos Szeredi @ 2007-09-25 22:27 UTC (permalink / raw)
  To: greg; +Cc: akpm, linux-kernel

I get "BUG: failure at mm/slab.c:591/page_get_cache()!" in latest -mm
when removing the fuse module.

This patch titled "kobject: remove the static array for the name"
looks like it's responsible.  Reverting it cures the problem.

The root of the problem seems to be, that decl_subsys() initializes
k_name with a string constant.  Then subsystem_unregister() will put
the kobject, which will free the k_name.

So, what's the right way to deal with this?

Thanks,
Miklos

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

end of thread, other threads:[~2007-09-26 15:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-25 22:27 subsystem_unregister() breakage in -mm Miklos Szeredi
2007-09-25 22:53 ` Greg KH
2007-09-25 23:02   ` Miklos Szeredi
2007-09-26  0:36     ` Greg KH
2007-09-26  2:41     ` Greg KH
2007-09-26  7:21       ` Cornelia Huck
2007-09-26 15:14         ` Greg KH
2007-09-26  8:17       ` Miklos Szeredi
2007-09-26 15:15         ` Greg KH

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