Re: [PATCH 1/3] cgroup: convert open-codedmutex_lock(&cgroup_mutex) calls into cgroup_lock() calls

From: Peter Zijlstra
Date: Tue Jan 20 2009 - 13:22:58 EST


On Mon, 2009-01-19 at 17:28 -0800, Paul Menage wrote:
> Yes, I'd rather hide the real lock in this case.

You can never hide locks, and wanting to do so will only lead to a
horrible mess.



--
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/