Module Name: src Committed By: ozaki-r Date: Thu Jun 16 02:34:33 UTC 2016
Modified Files: src/sys/sys: lwp.h Log Message: Introduce curlwp_bind and curlwp_bindx The API prevents the current LWP from migrating between CPUs during the critical section (between curlwp_bind and curlwp_bindx). One use case of it is psref(9) that has a contract that forbids such migrations. Proposed at http://mail-index.netbsd.org/tech-kern/2016/06/13/msg020710.html (check it out if you want to know why the function names are chosen) To generate a diff of this commit: cvs rdiff -u -r1.170 -r1.171 src/sys/sys/lwp.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.