Re: ALSA on MIPS platform

From: Atsushi Nemoto
Date: Fri Jan 27 2006 - 10:44:23 EST


>>>>> On Thu, 26 Jan 2006 19:19:22 +0000 (GMT), Hugh Dickins <hugh@xxxxxxxxxxx> said:

>> Well, the whole page-reserve kludge should disappear anyway in near
>> future. Right now it's in the process.

hugh> Yes, mark_pages() and unmark_pages() can just be removed as soon
hugh> as you like.

When I tried undefining NEED_RESERVE_PAGES for MIPS on 2.6.13,
something did not work (I can not remember details...). But it seems
things have been changed in 2.6.15. I'll try again. Thanks.

hugh> I didn't reply to the original posting because I noticed they're
hugh> not all of the virt_to_page()s in sound/core, and sometimes a
hugh> part-answer distracts someone more competent from responding
hugh> with the full answer.

Yes, there is still virt_to_page() in snd_pcm_mmap_data_nopage() and
snd_malloc_sgbuf_pages(). If dma_mmap_coherent() was ported, former
might disappear but latter might not. So it seems virt_to_page()
issue still remains...

>>>>> On Thu, 26 Jan 2006 17:02:53 +0100, Takashi Iwai <tiwai@xxxxxxx> said:

tiwai> The memory allocation stuff in ALSA is being largely rewritten
tiwai> on my local tree, but it's not released yet. One reason is to
tiwai> wait for the finish of page-reserve removals, and another
tiwai> reason is that I've had little time to tidy them up :)

OK, I'll wait. Thank you very much.

---
Atsushi Nemoto
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/