[Crash-utility] loop in crash

Dave Anderson anderson at redhat.com
Wed Apr 25 18:29:40 UTC 2012



----- Original Message -----

> 
> So I don't understand how you got into a loop unless the kmem_cache list
> walk-through is the real problem.  If you were to print out the "cache"
> address each time through the do-while loop, does the list start repeating
> itself?
> 
> And if that's true, perhaps the kmem_cache_init() should use the
> hq_open()/hq_enter()/hq_close() facility on each cache address to
> catch a duplicate (false) entry.

And if that's true, does the attached patch help?

Thanks,
  Dave
 

 
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kmem_cache_init.patch
Type: text/x-patch
Size: 952 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20120425/89c859dc/attachment.bin>


More information about the Crash-utility mailing list