[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOS58YOvVoe5KZXMB+mSF2OhXF9_eR+yipk96JW9Fenn2EJ1XA@mail.gmail.com>
Date: Tue, 5 Mar 2013 23:23:24 -0800
From: Tejun Heo <tj@...nel.org>
To: Li Zefan <lizefan@...wei.com>
Cc: "Kirill A. Shutemov" <kirill@...temov.name>,
LKML <linux-kernel@...r.kernel.org>,
Cgroups <cgroups@...r.kernel.org>
Subject: Re: [PATCH] cgroup: make cgrp->event_list_lock irqsafe
On Tue, Mar 5, 2013 at 11:21 PM, Tejun Heo <tj@...nel.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists