Re: [PATCH] cgroup: make cgrp->event_list_lock irqsafe

Tejun Heo
2013-03-06T07:23:24Z

On Tue, Mar 5, 2013 at 11:21 PM, Tejun Heo <tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:
>> wake_up() is also allowed to be called from irq handler?
>
> Yeah, well, we don't consider everything which uses wake_up() to be
> irq-safe. I'm not necessarily against making the lock irq-safe but at

More precise way to think about it wiatqueue lock would be that it's
built in a way that also allows it to be used from irq context. It
doesn't *force* irq context on all its users.

--
tejun