Re: [PATCH] cgroup: add opts release function to simplify the code

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

 



On Fri, Mar 11, 2016 at 03:07:15PM +0800, Xiubo Li wrote:
> The old code is a bit confusing for the readers by thinking why
> these two members of opts should be released?
> 
> The resources allocated by whom has the possiblity to release it,
> But this will make the opts parse function more complex. So add
> opts release function to simplify the code, and at the same time
> to make the code more easy to read and be understood.

I'm not really sure this improves anything.

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