Searched hist:"131 b2b7658d7e961a245697cb5af55306388fc54" (Results 1 – 3 of 3) sorted by relevance
/freebsd/share/man/man9/ |
H A D | epoch.9 | diff 131b2b7658d7e961a245697cb5af55306388fc54 Fri Jun 28 12:38:56 CEST 2019 Hans Petter Selasky <hselasky@FreeBSD.org> Implement API for draining EPOCH(9) callbacks.
The epoch_drain_callbacks() function is used to drain all pending callbacks which have been invoked by prior epoch_call() function calls on the same epoch. This function is useful when there are shared memory structure(s) referred to by the epoch callback(s) which are not refcounted and are rarely freed. The typical place for calling this function is right before freeing or invalidating the shared resource(s) used by the epoch callback(s). This function can sleep and is not optimized for performance.
Differential Revision: https://reviews.freebsd.org/D20109 MFC after: 1 week Sponsored by: Mellanox Technologies
|
/freebsd/sys/sys/ |
H A D | epoch.h | diff 131b2b7658d7e961a245697cb5af55306388fc54 Fri Jun 28 12:38:56 CEST 2019 Hans Petter Selasky <hselasky@FreeBSD.org> Implement API for draining EPOCH(9) callbacks.
The epoch_drain_callbacks() function is used to drain all pending callbacks which have been invoked by prior epoch_call() function calls on the same epoch. This function is useful when there are shared memory structure(s) referred to by the epoch callback(s) which are not refcounted and are rarely freed. The typical place for calling this function is right before freeing or invalidating the shared resource(s) used by the epoch callback(s). This function can sleep and is not optimized for performance.
Differential Revision: https://reviews.freebsd.org/D20109 MFC after: 1 week Sponsored by: Mellanox Technologies
|
/freebsd/sys/kern/ |
H A D | subr_epoch.c | diff 131b2b7658d7e961a245697cb5af55306388fc54 Fri Jun 28 12:38:56 CEST 2019 Hans Petter Selasky <hselasky@FreeBSD.org> Implement API for draining EPOCH(9) callbacks.
The epoch_drain_callbacks() function is used to drain all pending callbacks which have been invoked by prior epoch_call() function calls on the same epoch. This function is useful when there are shared memory structure(s) referred to by the epoch callback(s) which are not refcounted and are rarely freed. The typical place for calling this function is right before freeing or invalidating the shared resource(s) used by the epoch callback(s). This function can sleep and is not optimized for performance.
Differential Revision: https://reviews.freebsd.org/D20109 MFC after: 1 week Sponsored by: Mellanox Technologies
|