Re: [PATCH RFC] cpuset: change error code to -EPERM from -ENOSPC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 27, 2018 at 06:02:24PM +0800, Chengguang Xu wrote:
> When adding task to cpuset with empty cpus_allowed or empty mems_allowed,
> there is an error with code -ENOSPC, it is a little bit confusing,
> so change error code to -EPERM for better understanding.
> 
> Signed-off-by: Chengguang Xu <cgxu519@xxxxxxx>

I don't see why we'd change this or how EPERM is necessarily more
intuitive here.

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux