]> git.hungrycats.org Git - linux/commit
[PATCH] tmpfs preempt count panic
authorHugh Dickins <hugh@veritas.com>
Thu, 15 Jul 2004 06:08:02 +0000 (23:08 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 15 Jul 2004 06:08:02 +0000 (23:08 -0700)
commitf021f7336081fa41021b988e2c4ed20e58bf8860
tree501e7ed3650382d00fc90c213da5e9fe65c86ac7
parent2ebf51e39eb81f7ccb27528cc8f53ff214518fb3
[PATCH] tmpfs preempt count panic

Just unearthed another of my warcrimes: reading a 17-page sparse file,
I mean holey file, hits the in_interrupt panic in do_exit on a current
highmem kernel (but 2.6.7 is okay).  Fix mismatched preempt count from
shmem_swp_alloc's swapindex hole case by mapping an empty_zero_page.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/shmem.c