mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robert Love <rml@tech9.net>
To: Kristian Peters <kristian.peters@korseby.net>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [RFC][Patch] DMA for CD-ROM audio
Date: 14 Jul 2002 13:34:43 -0700	[thread overview]
Message-ID: <1026678886.1244.417.camel@sinai> (raw)
In-Reply-To: <20020714113341.786b3600.kristian.peters@korseby.net>

On Sun, 2002-07-14 at 02:33, Kristian Peters wrote:

> I've taken the CD-audio-DMA patch from Andrew Morton and made it available
> as a config option. You're now able to choose whether you still want
> the old code which uses PIO or the new code which decreases CPU load
> (on some systems up to 70%) and improves total time of read.
> 
> It should be safe with old systems. My broken AMD 386 falls back to PIO.

If the code is truly safe on older systems, what I think makes more
sense is merging it without a configure option and having DMA-capable
systems use DMA CD-audio and older systems fall back to PIO.

It seems wiser to me to support something entirely as correct and sane
or consider it not an issue.  This is not a separate feature, for
example like IDE itself which should be an option, but an evolutionary
feature of which we should just do it.

This would clean up all those nasty ifdefs and perhaps we could
generalize the two codepaths together, further reducing size.

I like the patch... up for my idea for 2.5?

I wonder what akpm thinks..

	Robert Love


  reply	other threads:[~2002-07-14 20:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-14  9:33 Kristian Peters
2002-07-14 20:34 ` Robert Love [this message]
2002-07-15  9:25   ` Kristian Peters

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=1026678886.1244.417.camel@sinai \
    --to=rml@tech9.net \
    --cc=kristian.peters@korseby.net \
    --cc=linux-kernel@vger.kernel.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®