Re: [lng-odp] [PATCH] linux-generic: support running with restricted cpu set

2015-04-28 Thread Maxim Uvarov
Merged to api-next for now. Petri, Robbie please confirm if you want this in 1.0.4 or it can go to 1.1.0 next week. Maxim. On 04/28/2015 20:27, Mike Holmes wrote: On 2 April 2015 at 11:21, Stuart Haslam stuart.has...@linaro.org mailto:stuart.has...@linaro.org wrote:

Re: [lng-odp] [PATCH] linux-generic: support running with restricted cpu set

2015-04-27 Thread Stuart Haslam
On Mon, Apr 06, 2015 at 02:04:08PM -0400, Mike Holmes wrote: I think odph is named odph precisely becasue they are not core APIs. I think it is a valid separate question if some of the odph members should be in the full API. So that's a separate discussion which is now continuing in another

[lng-odp] [PATCH] linux-generic: support running with restricted cpu set

2015-04-02 Thread Stuart Haslam
odp_cpu_count() returns the number of online CPUs, but when running in a control group access may be restricted to only a subset of these. This combined with a lack of error handling in odph_linux_pthread_create() means a number of the applications create more threads than there are cores