On Fri, Jan 25, 2008 at 11:35:56PM +0100, Ingo Molnar wrote:In looking at this code some more, I'm a bit confused. We have an array of kobjects in per_cpu(threshold_banks, cpu)[bank]->kobj Now the kobject in the struct threshold_bank structure is a "static" one, one that should govern the lifecycle of the object, yet there is no release function for it at all. I don't see a way for it to ever be properly torn down. But it's the bank kobjects that are dynamic. They look to be created properly, and the life cycle is correct because they are initialized by the kobject core now correctly. But which order are things initialized by the cpu code? Ideally the banks are created before the blocks, but by the error message that we have here, I'm not so sure about this. Can anyone confirm this order is always correct? Can someone send me the sysfs 'tree' output of what these kobjects are supposed to be looking like? Also, can someone enable CONFIG_KOBJECT_DEBUG and send me the output of the startup of this code? That should help explain what order things are happening it. Actually the debug output with this oops would be great, it should show the offending logic pretty well. thanks, greg k-h --
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Paul Jackson | Re: cpuset-remove-sched-domain-hooks-from-cpusets |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| Johann Baudy | Packet mmap: TX RING and zero copy |
| Gerrit Renker | [PATCH 31/37] dccp: Remove manual influence on NDP Count feature |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
