Re: [PATCH] workqueue: show the pool ID of the default pwq's pool in the pool_ids file

2014-09-23 Thread Tejun Heo
On Mon, Sep 22, 2014 at 04:04:37PM +0800, Lai Jiangshan wrote:
> It seems incomplete if the pool_ids file doesn't include the default
> pwq's pool.  Add it and the result:
> 
> # cat pool_ids 
> 0:9 1:10
> default:8

Hmmm?  default pwq is used only as the fallback if pool switching
fails and the failed nodes will have it assigned to them.  Why would
userland care about something which isn't being used?

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] workqueue: show the pool ID of the default pwq's pool in the pool_ids file

2014-09-23 Thread Lai Jiangshan
On 09/23/2014 10:38 PM, Tejun Heo wrote:
> On Mon, Sep 22, 2014 at 04:04:37PM +0800, Lai Jiangshan wrote:
>> It seems incomplete if the pool_ids file doesn't include the default
>> pwq's pool.  Add it and the result:
>>
>> # cat pool_ids 
>> 0:9 1:10
>> default:8
> 
> Hmmm?  default pwq is used only as the fallback if pool switching
> fails and the failed nodes will have it assigned to them.  Why would
> userland care about something which isn't being used?

Understood.

> 
> Thanks.
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/