summaryrefslogtreecommitdiff
path: root/sys/compat/linux32/common/linux32_socket.c
diff options
context:
space:
mode:
authorozaki-r <ozaki-r@NetBSD.org>2016-06-16 02:34:33 +0000
committerozaki-r <ozaki-r@NetBSD.org>2016-06-16 02:34:33 +0000
commit1a7bb65c12b2d37002f3e625910326dc3deb45ff (patch)
tree6175362d445625e92dcd56d572cc33d4f98c9087 /sys/compat/linux32/common/linux32_socket.c
parent8165d4e35968af640cb77d60c9e40a37870f76e5 (diff)
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)
Diffstat (limited to 'sys/compat/linux32/common/linux32_socket.c')
0 files changed, 0 insertions, 0 deletions