Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752420AbZK0IgB (ORCPT ); Fri, 27 Nov 2009 03:36:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751003AbZK0IgB (ORCPT ); Fri, 27 Nov 2009 03:36:01 -0500 Received: from cantor.suse.de ([195.135.220.2]:32859 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750964AbZK0IgA (ORCPT ); Fri, 27 Nov 2009 03:36:00 -0500 Date: Fri, 27 Nov 2009 09:36:06 +0100 Message-ID: From: Takashi Iwai To: Ralf Baechle Cc: wuzhangjin@gmail.com, Andreas Mohr , linux-kernel@vger.kernel.org Subject: Re: snd_usb_audio OOPS on MIPSEL - is that the mmap issue? In-Reply-To: <20091126181554.GB11737@linux-mips.org> References: <20091125231211.GA19559@rhlx01.hs-esslingen.de> <1259198431.2870.17.camel@falcon.domain.org> <20091126181554.GB11737@linux-mips.org> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 875 Lines: 23 At Thu, 26 Nov 2009 18:15:54 +0000, Ralf Baechle wrote: > > On Thu, Nov 26, 2009 at 10:09:04AM +0100, Takashi Iwai wrote: > > > I guess it won't, because usb audio driver provides its own page > > callback. It uses vmalloced buffer as the primary buffer, then > > copies to the urb transfer buffer. So, mmap should work as long as > > the page returned from vmalloc_to_page() can be mapped. > > You mean mapping a page that is mapped to the vmalloc area of the kernel > also to userland? That's a fairly safe way to create cache aliases on > those platforms that suffer from them. Yes. Thanks for clarification! Takashi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/