public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* kobjects: mark cleaned up kobjects as unitialized
@ 2009-11-25  9:27 eran liberty
  2009-11-25 12:35 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: eran liberty @ 2009-11-25  9:27 UTC (permalink / raw)
  To: gregkh, balajirrao; +Cc: linux-kernel

Hi Greg & Balaji,

After diving into the LDKM and failed to spot the point where you
actually un-initialize the 'state_initialized' of a kobject... and
since I have statically allocated object which trip over this very
same trap...

Google-ing for others who fell into this trap, I found your thread/patch at:
http://lkml.org/lkml/2008/3/8/155
and
http://lkml.indiana.edu/hypermail/linux/kernel/0902.0/01969.html

I noticed this patch did not make it into the mainline.

Is this patch still valid?
Is there some other, better way to do it by the book?

Right now I by-pass the problem by memset-ing the whole object after I
release it... but I feel this is a bit brutal.

-- Liberty

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

end of thread, other threads:[~2009-11-25 15:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-25  9:27 kobjects: mark cleaned up kobjects as unitialized eran liberty
2009-11-25 12:35 ` Greg KH
2009-11-25 14:27   ` eran liberty
2009-11-25 15:27     ` Greg KH
2009-11-25 15:41       ` Greg KH

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