aboutsummaryrefslogtreecommitdiff
path: root/fs/compat.c
diff options
context:
space:
mode:
authorGravatar Hugh Dickins <hugh@veritas.com> 2005-11-21 21:32:22 -0800
committerGravatar Linus Torvalds <torvalds@g5.osdl.org> 2005-11-22 09:13:43 -0800
commitf3d48f0373c14a6203202f7b1dfc7b0d8aaf6ed2 (patch)
treee09198efae7c68b9b4799b0f85d67951cc33bb54 /fs/compat.c
parent[PATCH] unpaged: copy_page_range vma (diff)
downloadlinux-f3d48f0373c14a6203202f7b1dfc7b0d8aaf6ed2.tar.gz
linux-f3d48f0373c14a6203202f7b1dfc7b0d8aaf6ed2.tar.bz2
linux-f3d48f0373c14a6203202f7b1dfc7b0d8aaf6ed2.zip
[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>
Diffstat (limited to 'fs/compat.c')
0 files changed, 0 insertions, 0 deletions