linux/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
control_compat.c [ALSA] Replace with kzalloc() - core stuff 2005-09-12 10:47:59 +02:00
control.c [ALSA] Remove snd_runtime_check() macro 2005-11-04 13:17:42 +01:00
device.c [ALSA] Replace with kzalloc() - core stuff 2005-09-12 10:47:59 +02:00
hwdep_compat.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hwdep.c [ALSA] fix improper CONFIG_SND_MAJOR usage 2005-11-04 13:20:08 +01:00
info_oss.c [PATCH] create a kstrdup library function 2005-06-23 09:45:18 -07:00
info.c [ALSA] Remove kmalloc wrappers 2005-11-04 13:18:08 +01:00
init.c [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
isadma.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07: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
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_compat.c [ALSA] pcm - Fix zero-division in 32bit compat layer 2005-08-30 08:47:40 +02:00
pcm_lib.c [ALSA] Use getnstimeofday() 2005-11-04 13:17:47 +01:00
pcm_memory.c [ALSA] Replace with kzalloc() - core stuff 2005-09-12 10:47:59 +02:00
pcm_misc.c [ALSA] Export missing snd_pcm_format_*() 2005-05-29 10:11:11 +02:00
pcm_native.c [ALSA] fix improper CONFIG_SND_MAJOR usage 2005-11-04 13:20:08 +01:00
pcm_timer.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pcm.c [ALSA] Remove snd_runtime_check() macro 2005-11-04 13:17:42 +01:00
rawmidi_compat.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rawmidi.c [ALSA] fix improper CONFIG_SND_MAJOR usage 2005-11-04 13:20:08 +01:00
rtctimer.c [ALSA] timers: add module refcounting for global timers 2005-11-04 13:18:43 +01:00
sgbuf.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sound_oss.c [PATCH] Assign device pointer to OSS devices 2005-08-30 08:58:37 +02:00
sound.c [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
timer_compat.c [ALSA] Change some timer ioctls due to confliction 2005-05-29 10:10:53 +02:00
timer.c [ALSA] timer: formatting changes 2005-11-04 13:18:47 +01:00