Neel Natu 485b3300cc 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
2013-02-11 20:36:07 +00:00
..
2012-09-14 17:50:42 +00:00
2013-01-17 23:56:43 +00:00
2013-01-31 08:55:21 +00:00
2013-01-19 07:07:05 +00:00
2012-10-07 19:53:04 +00:00
2012-11-20 02:12:01 +00:00
2012-07-13 21:27:18 +00:00
2012-03-26 21:22:53 +00:00
2012-03-26 15:18:14 +00:00
2013-01-05 00:27:08 +00:00
2012-10-29 03:31:22 +00:00
2012-09-01 10:56:15 +00:00
2012-10-20 10:20:06 +00:00
2010-12-20 08:54:30 +00:00
2012-05-18 14:12:17 +00:00
2012-05-17 11:50:12 +00:00
2013-01-31 08:55:21 +00:00
2010-12-20 09:36:54 +00:00
2012-07-04 10:17:02 +00:00
2012-05-12 15:08:22 +00:00
2013-01-23 07:22:33 +00:00
2013-01-31 08:55:21 +00:00
2013-01-31 08:55:21 +00:00
2012-11-18 16:58:08 +00:00
2012-09-11 07:35:24 +00:00
2012-09-14 17:50:42 +00:00
2012-06-03 11:29:48 +00:00
2012-10-05 20:19:28 +00:00
2012-03-10 14:38:34 +00:00
2012-03-26 21:22:53 +00:00