Re: [PATCH] cpusets: Allocate heap only when required

From: David Rientjes
Date: Thu Jan 23 2014 - 16:31:18 EST


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@xxxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/