Re: [PATCH] mm: thp: minor lock simplification in __khugepaged_exit

From: Johannes Weiner
Date: Tue Jun 14 2011 - 06:07:09 EST


On Fri, Jun 10, 2011 at 04:33:55PM -0700, Chris Wright wrote:
> The lock is released first thing in all three branches. Simplify this
> by unconditionally releasing lock and remove else clause which was only
> there to be sure lock was released.
>
> Signed-off-by: Chris Wright <chrisw@xxxxxxxxxxxx>

Acked-by: Johannes Weiner <jweiner@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/