dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/sound/usb
Hugh Dickins 1cdca61bf8 [PATCH] unpaged: sound nopage get_page
Something noticed when studying use of VM_RESERVED in different drivers:
snd_usX2Y_hwdep_pcm_vm_nopage omitted to get_page: fixed.

And how did this work before?  Aargh!  That nopage is returning a page from
within a buffer allocated by snd_malloc_pages, which allocates a high-order
page, then does SetPageReserved on each 0-order page within.

That would have worked in 2.6.14, because when the area was unmapped,
PageReserved inhibited put_page.  2.6.15-rc1 removed that inhibition (while
leaving ineffective PageReserveds around for now), but it hasn't caused
trouble because..  we've not been freeing from VM_RESERVED at all.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-22 09:13:42 -08:00
..
usx2y [PATCH] unpaged: sound nopage get_page 2005-11-22 09:13:42 -08:00
Kconfig [ALSA] Fix snd-usb-audio dependency on snd-hwdep. 2005-05-29 10:06:25 +02:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
usbaudio.c [ALSA] usb-audio: start submitting URBs in the prepared state 2005-11-04 13:25:06 +01:00
usbaudio.h [ALSA] usb-audio: remove old compatibility wrappers (2/2) 2005-11-04 13:16:39 +01:00
usbmidi.c [ALSA] usb-audio: remove superfluous include 2005-11-04 13:20:03 +01:00
usbmixer.c [ALSA] Add missing KERN_* prefix 2005-11-04 13:19:32 +01:00
usbmixer_maps.c [ALSA] usb-audio: remove duplicate fixup entry (Hercules DJ Console) 2005-11-04 13:26:03 +01:00
usbquirks.h [ALSA] usb-audio: add quirk comments 2005-11-04 13:16:28 +01:00