[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071029132020.4731aa01@i1501.lan.towertech.it>
Date: Mon, 29 Oct 2007 13:20:20 +0100
From: Alessandro Zummo <alessandro.zummo@...ertech.it>
To: rtc-linux@...glegroups.com
Cc: jikos@...os.cz, Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Gabriel C <nix.or.die@...glemail.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Ingo Molnar <mingo@...e.hu>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [rtc-linux] Re: BUG: lock held when returning to user space
On Sun, 28 Oct 2007 00:47:15 +0200 (CEST)
Jiri Kosina <jikos@...os.cz> wrote:
> Yes, but the fact is that is really is invalid use of mutex -- because the
> mutex owner could become seriously wrong after fork() or sending the
> filedescriptor through unix socket ... this easily leads to broken
> situation.
>
> This seems to have been introduced in e824290e5d ... Alessandro, could you
> convert this to test_and_set_bit()/clear_bit() semantics instead of a
> mutex please?
Hi Jiri,
I was away for the weekend and just saw the whole discussion
and your patch and I'm happy to ack it. Thank you very much
a thanks to Gabriel for the bug report!
--
Best regards,
Alessandro Zummo,
Tower Technologies - Torino, Italy
http://www.towertech.it
-
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