Find the answer to your Linux question:
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.
  1. #1
    Just 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

  2. #2
    Just 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.

  3. #3
    Just 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •