android_kernel_xiaomi_sm8350/sound/usb/usx2y
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
..
Makefile
usbus428ctldefs.h
usbusx2y.c [ALSA] Add missing KERN_* prefix 2005-11-04 13:19:32 +01:00
usbusx2y.h
usbusx2yaudio.c [ALSA] Add missing KERN_* prefix 2005-11-04 13:19:32 +01:00
usx2y.h
usx2yhwdeppcm.c [PATCH] unpaged: sound nopage get_page 2005-11-22 09:13:42 -08:00
usx2yhwdeppcm.h
usX2Yhwdep.c [ALSA] Add missing KERN_* prefix 2005-11-04 13:19:32 +01:00
usX2Yhwdep.h