linux/sound
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
..
arm
core [PATCH] unpaged: fix sound Bad page states 2005-11-22 09:13:43 -08:00
drivers
i2c
isa
mips
oss [PATCH] move pm_register/etc. to CONFIG_PM_LEGACY, pm_legacy.h 2005-11-13 18:14:10 -08:00
parisc
pci
pcmcia
ppc [PATCH] PowerBook 6,1: headphone not detected after suspend 2005-11-16 13:51:50 +11:00
sparc
synth
usb [PATCH] unpaged: sound nopage get_page 2005-11-22 09:13:42 -08:00
Kconfig
last.c
Makefile
sound_core.c
sound_firmware.c