Results 1 to 3 of 3
Once a thread terminates, does anyone know where the call is to free memory used by that task struct in the slab allocator?
Thanks...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-24-2008 #1Just Joined!
- Join Date
- Oct 2008
- Posts
- 2
memory management and task structs
Once a thread terminates, does anyone know where the call is to free memory used by that task struct in the slab allocator?
Thanks
- 10-24-2008 #2Just Joined!
- Join Date
- May 2008
- Posts
- 55
what I know is it when kernelwants to allocate task struct , he loks at kmem_cache_alloc.....
so I think, it should be kmem_cache_free call....
somewhere....
but I do not know where exact;y om kernel, may be have to dig more.
I am not sure, please let me know if you get correct info.
- 10-24-2008 #3Just Joined!
- Join Date
- Oct 2008
- Posts
- 2
Yeah it is a call to kmem_cache_free somewhere, but I don't know where, which is why I was asking in the first place...
Searching the source hasn't turned up anything that is immediately obvious what I need, and I don't have time to go through every hit to figure out if it's what I need either.


Reply With Quote
