mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: piotr@member.fsf.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [BUG] D-states in test8
Date: Sun, 19 Oct 2003 16:01:27 -0700	[thread overview]
Message-ID: <20031019160127.191a189a.akpm@osdl.org> (raw)
In-Reply-To: <20031019205630.GA1153@81.38.200.176>

Pedro Larroy <piotr@member.fsf.org> wrote:
>
> Process just started to get into D state, all subsequent ps got into D.
>  The first that got into D state was mplayer.

This might help.

--- 25/sound/core/pcm_native.c~pcm_native-deadlock-fix	2003-10-19 15:58:31.000000000 -0700
+++ 25-akpm/sound/core/pcm_native.c	2003-10-19 15:58:48.000000000 -0700
@@ -1982,9 +1982,9 @@ int snd_pcm_open(struct inode *inode, st
 		}
 	}
 	remove_wait_queue(&pcm->open_wait, &wait);
+	up(&pcm->open_mutex);
 	if (err < 0)
 		goto __error;
-	up(&pcm->open_mutex);
 	return err;
 
       __error:

_


  parent reply	other threads:[~2003-10-19 23:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-19 20:56 Pedro Larroy
2003-10-19 21:03 ` William Lee Irwin III
2003-10-19 22:26   ` Pedro Larroy
2003-10-19 23:02     ` William Lee Irwin III
2003-10-19 23:01 ` Andrew Morton [this message]
2003-10-20  1:29   ` Pedro Larroy
2003-10-20  1:36     ` Andrew Morton
2003-10-20  2:24       ` Pedro Larroy
2003-10-20  3:33         ` William Lee Irwin III
2003-10-20 12:53         ` Diego Calleja García

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=20031019160127.191a189a.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=piotr@member.fsf.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®