From: Andi Kleen <ak@suse.de>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: pavel@suse.cz, LKML <linux-kernel@vger.kernel.org>,
Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [PATCH -rt] race condition in fs/compat.c with compat_sys_ioctl
Date: 16 Nov 2005 06:55:28 +0100 [thread overview]
Message-ID: <p73y83pp25r.fsf@verdi.suse.de> (raw)
In-Reply-To: <1132115386.5047.61.camel@localhost.localdomain>
Steven Rostedt <rostedt@goodmis.org> writes:
>
> That's the problem. I found out that one ioctl might sleep holding the
> sem and won't be woken up until another process calls another ioctl to
> wake it up. But unfortunately, the one waking up the sleeper will block
> on the sem. (the killer was tty_wait_until_sent)
You should have looked into mainline first. The semaphore is already gone
because it wasn't even needed anymore.
-Andi
next prev parent reply other threads:[~2005-11-16 5:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1131821278.5047.8.camel@localhost.localdomain>
[not found] ` <5bdc1c8b0511121725u6df7ad9csb9cb56777fa6fe64@mail.gmail.com>
[not found] ` <Pine.LNX.4.58.0511122149020.25152@localhost.localdomain>
[not found] ` <5bdc1c8b0511121914v12dc4402u424fbaf416bf3710@mail.gmail.com>
[not found] ` <1131853456.5047.14.camel@localhost.localdomain>
[not found] ` <5bdc1c8b0511130634h501fb565v58906bdfae788814@mail.gmail.com>
[not found] ` <1131994030.5047.17.camel@localhost.localdomain>
[not found] ` <5bdc1c8b0511141057l60a2e778x89155cd5484d532f@mail.gmail.com>
2005-11-16 4:29 ` [PATCH -rt] race condition in fs/compat.c with compat_sys_ioctl Steven Rostedt
2005-11-16 5:55 ` Andi Kleen [this message]
2005-11-16 8:33 ` Ingo Molnar
2005-11-16 9:46 ` Steven Rostedt
2005-11-16 10:03 ` Ingo Molnar
2005-11-16 8:32 ` Ingo Molnar
2005-11-16 9:40 ` Steven Rostedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=p73y83pp25r.fsf@verdi.suse.de \
--to=ak@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=pavel@suse.cz \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.