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.ku...@linaro.org>
Acked-by: David Rientjes <rient...@google.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/