All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Benny Sjostrand <gorm@cucumelo.org>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: [PATCH] cs46xx update SMP fixes
Date: Fri, 23 Aug 2002 10:21:54 +0200	[thread overview]
Message-ID: <s5hptwarnml.wl@alsa2.suse.de> (raw)
In-Reply-To: <3D652BA1.8010600@cucumelo.org>

At Thu, 22 Aug 2002 20:21:21 +0200,
Benny Sjostrand wrote:
> 
> 
> 
> >how about to make the list of free scbs so that the free scb can be
> >found without loop?  also, doulbe linked lists would be more feasible
> >for such frequent insert/deletion.
> >
> I dont known if I understand you, the SCB tree is already like a big 
> complex double linked
> list. However they are stored in a array.

yes, i figured out it later, too.  sorry for confusion.


> >
> >but this may introduce the inconsistent status until the scheduled
> >task is really called.
> >
> >i think the best way is to shorten the code path of trigger callback.
> >
> I agree that it may not be the best solution, I believe it can work but 
> will end up
> in a dirty hack.

basically trigger callback should be as short as possible, because
it's called just at the time you want to "start" the playback.
semaphore or schedule in trigger may cause unexpected long delay
(except for the problem that it can be called by interrupt handlers).


Takashi


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390

      parent reply	other threads:[~2002-08-23  8:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-22  9:59 [PATCH] cs46xx update SMP fixes Benny Sjostrand
2002-08-22 12:44 ` Takashi Iwai
2002-08-22 13:33   ` Benny Sjostrand
2002-08-22 13:40     ` Takashi Iwai
2002-08-22 14:13       ` Benny Sjostrand
2002-08-22 14:27         ` Takashi Iwai
     [not found]           ` <3D652BA1.8010600@cucumelo.org>
2002-08-23  8:21             ` Takashi Iwai [this message]

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=s5hptwarnml.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=gorm@cucumelo.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 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.