Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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?


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

  4. $spacer_open

Posting Permissions

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