Re: question about cpusets vs sched_setaffinity()

2015-12-14 Thread Jason Baron
On 12/11/2015 06:26 PM, Chris Friesen wrote: > On 12/11/2015 04:15 PM, Jason Baron wrote: >> On 12/10/2015 04:30 PM, Chris Friesen wrote: > >>> If I put a task into a cpuset and then call sched_setaffinity() on it, >>> it will be affined to the intersection of the two sets of cpus. (Those >>> s

Re: question about cpusets vs sched_setaffinity()

2015-12-11 Thread Chris Friesen
On 12/11/2015 04:15 PM, Jason Baron wrote: On 12/10/2015 04:30 PM, Chris Friesen wrote: If I put a task into a cpuset and then call sched_setaffinity() on it, it will be affined to the intersection of the two sets of cpus. (Those specified on the set, and those specified in the syscall.) How

Re: question about cpusets vs sched_setaffinity()

2015-12-11 Thread Jason Baron
On 12/10/2015 04:30 PM, Chris Friesen wrote: > Hi, > > I've got a question about the interaction between cpusets and > sched_setaffinity(). > > If I put a task into a cpuset and then call sched_setaffinity() on it, > it will be affined to the intersection of the two sets of cpus. (Those > spec

question about cpusets vs sched_setaffinity()

2015-12-10 Thread Chris Friesen
Hi, I've got a question about the interaction between cpusets and sched_setaffinity(). If I put a task into a cpuset and then call sched_setaffinity() on it, it will be affined to the intersection of the two sets of cpus. (Those specified on the set, and those specified in the syscall.) Ho