aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_pcb.h
diff options
context:
space:
mode:
authorNeel Natu <neel@FreeBSD.org>2013-02-11 20:36:07 +0000
committerNeel Natu <neel@FreeBSD.org>2013-02-11 20:36:07 +0000
commit485b3300cc125bbeac0632191a0c58268cf82b62 (patch)
tree08d417f2f979935bc451028d59ec525a42e021c6 /sys/netinet/sctp_pcb.h
parentf667ff300d0be1dae325385635e2896d9ccb4ac8 (diff)
Implement guest vcpu pinning using 'pthread_setaffinity_np(3)'.
Prior to this change pinning was implemented via an ioctl (VM_SET_PINNING) that called 'sched_bind()' on behalf of the user thread. The ULE implementation of 'sched_bind()' bumps up 'td_pinned' which in turn runs afoul of the assertion '(td_pinned == 0)' in userret(). Using the cpuset affinity to implement pinning of the vcpu threads works with both 4BSD and ULE schedulers and has the happy side-effect of getting rid of a bunch of code in vmm.ko. Discussed with: grehan
Notes
Notes: svn path=/head/; revision=246686
Diffstat (limited to 'sys/netinet/sctp_pcb.h')
0 files changed, 0 insertions, 0 deletions