Some application threads (such as rpcbind) use tsd to store thread specific data. When the thread exits, it calls tmem_exit() to release libumem per thread caches, then tsd_exit() to release tsd. This causes leaks since releasing tsd calls free(), which adds the buffer to thread cache again.

Review Request #275 - Created June 3, 2017 and updated

Information
Youzhong Yang
illumos-gate
8276
Reviewers
csiden

8276 rpcbind leaks memory due to libumem per thread caching.


  

Issues

  • 1
  • 2
  • 0
  • 3
Description From Last Updated
Might be nice to have a short comment about the ordering constraint here. Gordon Ross Gordon Ross
Toomas Soome
Robert Mustacchi
Gordon Ross
Youzhong Yang
Toomas Soome
Youzhong Yang
Toomas Soome
Youzhong Yang
Review request changed

Change Summary:

comment cstyle fix

Diff:

Revision 4 (+7 -2)

Show changes

Toomas Soome
Ship It!
Loading...