Home
last modified time | relevance | path

Searched hist:"19 d3e47dca171551d1dd724863d05b5a0b74e34f" (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/kern/
H A Dkern_thread.cdiff 19d3e47dca171551d1dd724863d05b5a0b74e34f Mon Nov 16 04:12:21 CET 2020 Mateusz Guzik <mjg@FreeBSD.org> select: call seltdfini on process and thread exit

Since thread_zone is marked NOFREE the thread_fini callback is never
executed, meaning memory allocated by seltdinit is never released.

Adding the call to thread_dtor is not sufficient as exiting processes
cache the main thread.
H A Dkern_exit.cdiff 19d3e47dca171551d1dd724863d05b5a0b74e34f Mon Nov 16 04:12:21 CET 2020 Mateusz Guzik <mjg@FreeBSD.org> select: call seltdfini on process and thread exit

Since thread_zone is marked NOFREE the thread_fini callback is never
executed, meaning memory allocated by seltdinit is never released.

Adding the call to thread_dtor is not sufficient as exiting processes
cache the main thread.