original_kernel/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 [ALSA] Add missing KERN_* prefix 2005-11-04 13:19:32 +01:00
seq [ALSA] Fix schedule_timeout usage 2005-11-04 13:19:49 +01:00
Kconfig [ALSA] Remove kmalloc wrappers 2005-11-04 13:18:08 +01:00
Makefile [ALSA] Remove kmalloc wrappers 2005-11-04 13:18:08 +01:00
control.c [ALSA] Remove snd_runtime_check() macro 2005-11-04 13:17:42 +01:00
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 [ALSA] Remove kmalloc wrappers 2005-11-04 13:18:08 +01:00
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 [ALSA] Remove kmalloc wrappers 2005-11-04 13:18:08 +01:00
misc.c [ALSA] Remove kmalloc wrappers 2005-11-04 13:18:08 +01:00
pcm.c [ALSA] Remove snd_runtime_check() macro 2005-11-04 13:17:42 +01:00
pcm_compat.c
pcm_lib.c [ALSA] Use getnstimeofday() 2005-11-04 13:17:47 +01:00
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 [ALSA] timers: add module refcounting for global timers 2005-11-04 13:18:43 +01:00
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 [ALSA] timer: formatting changes 2005-11-04 13:18:47 +01:00
timer_compat.c