linux-stable-rt/sound/core
Hugh Dickins f3d48f0373 [PATCH] unpaged: fix sound Bad page states
Earlier I unifdefed PageCompound, so that snd_pcm_mmap_control_nopage and
others can give out a 0-order component of a higher-order page, which won't
be mistakenly freed when zap_pte_range unmaps it.  But many Bad page states
reported a PG_reserved was freed after all: I had missed that we need to
say __GFP_COMP to get compound page behaviour.

Some of these higher-order pages are allocated by snd_malloc_pages, some by
snd_malloc_dev_pages; or if SBUS, by sbus_alloc_consistent - but that has
no gfp arg, so add __GFP_COMP into its sparc32/64 implementations.

I'm still rather puzzled that DRM seems not to need a similar change.

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:43 -08:00
..
oss
seq [ALSA] Fix schedule_timeout usage 2005-11-04 13:19:49 +01:00
Kconfig
Makefile
control.c
control_compat.c
device.c
hwdep.c [ALSA] fix improper CONFIG_SND_MAJOR usage 2005-11-04 13:20:08 +01:00
hwdep_compat.c
info.c
info_oss.c
init.c [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
isadma.c
memalloc.c [PATCH] unpaged: fix sound Bad page states 2005-11-22 09:13:43 -08:00
memory.c
misc.c
pcm.c
pcm_compat.c
pcm_lib.c
pcm_memory.c
pcm_misc.c
pcm_native.c [ALSA] fix improper CONFIG_SND_MAJOR usage 2005-11-04 13:20:08 +01:00
pcm_timer.c
rawmidi.c [ALSA] fix improper CONFIG_SND_MAJOR usage 2005-11-04 13:20:08 +01:00
rawmidi_compat.c
rtctimer.c
sgbuf.c
sound.c [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
sound_oss.c
timer.c
timer_compat.c