From mboxrd@z Thu Jan 1 00:00:00 1970 From: Li Zefan Subject: Re: [PATCH] cpusets: Allocate heap only when required Date: Fri, 24 Jan 2014 09:58:21 +0800 Message-ID: <52E1C8BD.2010500@huawei.com> References: <8622e93b9c49c66ffdc9ef0aa8371c322718edd5.1390475530.git.viresh.kumar@linaro.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: David Rientjes Cc: Viresh Kumar , mingo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, peterz-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org, linaro-kernel-cunTk1MwBs8s++Sfvej+rw@public.gmane.org, patches-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Cgroups , Tejun Heo Cc: Tejun On 2014/1/24 5:31, David Rientjes wrote: > On Thu, 23 Jan 2014, Viresh Kumar wrote: > >> update_flag() routine uses heap only when spread_flag_changed is true. Otherwise >> heap isn't used, but is allocated and freed unnecessarily. >> but harmless >> Fix this by allocating heap only when required. >> >> Signed-off-by: Viresh Kumar > > Acked-by: David Rientjes Acked-by: Li Zefan I would like this patch be picked up by Tejun. I'll send out a patchset for cpuset which may have confliction with this one.