OpenCloudOS-Kernel/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 [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
core [PATCH] unpaged: fix sound Bad page states 2005-11-22 09:13:43 -08:00
drivers [PATCH] vx_hwdep.c needs vmalloc.h 2005-11-09 07:55:50 -08:00
i2c [ALSA] Fix schedule_timeout usage 2005-11-04 13:19:49 +01:00
isa [ALSA] Fix schedule_timeout usage 2005-11-04 13:19:49 +01:00
mips [ALSA] AMD Au1x00 driver: buggy spinlocks 2005-11-04 13:20:26 +01:00
oss [PATCH] move pm_register/etc. to CONFIG_PM_LEGACY, pm_legacy.h 2005-11-13 18:14:10 -08:00
parisc [PARISC] Update harmony from parisc tree 2005-10-21 22:42:38 -04:00
pci [PATCH] pci_ids cleanup: fix two additional IDs in bt87x 2005-11-10 16:09:17 -08:00
pcmcia [ALSA] Remove vmalloc wrapper, kfree_nocheck() 2005-11-04 13:18:00 +01:00
ppc [PATCH] PowerBook 6,1: headphone not detected after suspend 2005-11-16 13:51:50 +11:00
sparc [SPARC]: More abstractions and cleanups of dma handling in cs4231. 2005-11-07 14:09:19 -08:00
synth [ALSA] Fix emu10k1 synth problems. 2005-11-04 13:20:13 +01:00
usb [PATCH] unpaged: sound nopage get_page 2005-11-22 09:13:42 -08:00
Kconfig [ALSA] sound: align device drivers menus 2005-11-04 13:17:08 +01:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
last.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sound_core.c [PATCH] Driver Core: fix up all callers of class_device_create() 2005-10-28 09:52:52 -07:00
sound_firmware.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00