All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaroslav Kysela <perex@suse.cz>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: snd_pcm_lib_preallocate_pages_for_all
Date: Tue, 6 Jul 2004 10:34:41 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.58.0407061029490.2318@linux.local> (raw)
In-Reply-To: <s5hzn6e7lrj.wl@alsa2.suse.de>

On Mon, 5 Jul 2004, Takashi Iwai wrote:

> Ah, of course, the crash in snd_pcm_lib_preallocate_pages_for_all has
> nothing to do with mmap.  I overlooked the point of crash.
> 
> The attached patch should fix it.

The patch looks wrong. Some architectures does not mark pages as reserved
and other do it. I discussed this problem with Russell and it seems that
there is no way to distinct these diferences using a generic way, so we
need to add #ifdefs for some platforms.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

  reply	other threads:[~2004-07-06  8:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-05 10:57 snd_pcm_lib_preallocate_pages_for_all Bo Henriksen
2004-07-05 11:10 ` snd_pcm_lib_preallocate_pages_for_all Takashi Iwai
2004-07-06  8:34   ` Jaroslav Kysela [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-07-05  8:56 snd_pcm_lib_preallocate_pages_for_all Bo Henriksen
2004-07-05  9:00 ` snd_pcm_lib_preallocate_pages_for_all Russell King
2004-07-05  9:17   ` snd_pcm_lib_preallocate_pages_for_all Takashi Iwai
2004-07-05  7:03 snd_pcm_lib_preallocate_pages_for_all Bo Henriksen
2004-07-05  8:15 ` snd_pcm_lib_preallocate_pages_for_all Russell King

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=Pine.LNX.4.58.0407061029490.2318@linux.local \
    --to=perex@suse.cz \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=tiwai@suse.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.