From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaroslav Kysela Subject: Re: snd_pcm_lib_preallocate_pages_for_all Date: Tue, 6 Jul 2004 10:34:41 +0200 (CEST) Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Takashi Iwai Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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 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