Re: [PATCH] slub: correct return errno on slab_sysfs_init failure

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

 



On 06/13/2014 23:53 PM, Christoph Lameter wrote:
> 
> On Thu, 12 Jun 2014, Jeff Liu wrote:
> 
>> From: Jie Liu <jeff.liu@xxxxxxxxxx>
>>
>> Return ENOMEM instead of ENOSYS if slab_sysfs_init() failed
> 
> The reason that I used ENOSYS there is that the whole sysfs portion of the
> slab allocator will be disabled. Could be due to a number of issues since
> kset_create_and_add() returns NULL for any error.

Thanks for your clarification and sorry for the noise.

Cheers,
-Jeff

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




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