lkml.org 
[lkml]   [2014]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] cpusets: Allocate heap only when required
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.
>
> Fix this by allocating heap only when required.
>
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>

Acked-by: David Rientjes <rientjes@google.com>


\
 
 \ /
  Last update: 2014-01-23 23:21    [W:0.062 / U:1.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site