[patch V 2 04/13] ia64/sn/hwperf: Replace racy task affinity logic

2017-04-12 Thread Thomas Gleixner
Subject: ia64/sn/hwperf: Replace racy task affinity logic From: Thomas Gleixner Date: Thu, 06 Apr 2017 14:56:18 +0200 sn_hwperf_op_cpu() which is invoked from an ioctl requires to run code on the requested cpu. This is achieved by temporarily setting the affinity of the

[patch V 2 04/13] ia64/sn/hwperf: Replace racy task affinity logic

2017-04-12 Thread Thomas Gleixner
Subject: ia64/sn/hwperf: Replace racy task affinity logic From: Thomas Gleixner Date: Thu, 06 Apr 2017 14:56:18 +0200 sn_hwperf_op_cpu() which is invoked from an ioctl requires to run code on the requested cpu. This is achieved by temporarily setting the affinity of the calling user space thread