lkml.org 
[lkml]   [2009]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: snd_usb_audio OOPS on MIPSEL - is that the mmap issue?
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.

Ralf


\
 
 \ /
  Last update: 2009-11-26 19:17    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog