[PATCH] devcgroup: skip superfluous checks when found the DEV_ALL elem

Li Zefan lizf at cn.fujitsu.com
Thu Apr 9 17:20:15 PDT 2009


Andrew Morton wrote:
> On Tue, 07 Apr 2009 13:47:16 +0800
> Li Zefan <lizf at cn.fujitsu.com> wrote:
> 
>> While walking through the whitelist, if the DEV_ALL item is found,
>> no more check is needed.
>>
> 
> It's unobvious whether this is a behavioural change, a bugfix or just a
> speedup?
> 

It's a speedup. I thought it's obvious by saying "skip superfluous checks"..




More information about the Containers mailing list