tmp_suning_uos_patched/arch/sparc
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
..
boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kernel [PATCH] unpaged: fix sound Bad page states 2005-11-22 09:13:43 -08:00
lib [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
math-emu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mm [PATCH] unpaged: VM_UNPAGED 2005-11-22 09:13:42 -08:00
prom [PATCH] sparc NULL noise removal 2005-05-04 07:33:13 -07:00
defconfig [SPARC32]: Revert IOMAP change eb98129eec 2005-10-10 21:02:26 -07:00
Kconfig [SPARC]: Add sun4m LED driver. 2005-11-07 14:08:04 -08:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile kbuild: arm26,sparc use generic asm-offset support 2005-09-09 20:35:55 +02:00