]> git.hungrycats.org Git - linux/commit
[PATCH] pagefault accounting fix
authorAndrew Morton <akpm@osdl.org>
Mon, 29 Dec 2003 13:48:41 +0000 (05:48 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 29 Dec 2003 13:48:41 +0000 (05:48 -0800)
commitd2c585d3dd5787bb24c0eb1c01890a9e51c1534f
tree58115241fbc1f258345f0cb62132ac237cd57a66
parent282ed0030c6f27691a59ebadd206f96a056a4ceb
[PATCH] pagefault accounting fix

From: William Lee Irwin III <wli@holomorphy.com>

Our accounting of minor faults versus major faults is currently quite wrong.

To fix it up we need to propagate the actual fault type back to the
higher-level code.  Repurpose the currently-unused third arg to ->nopage
for this.
21 files changed:
Documentation/filesystems/Locking
arch/i386/mm/hugetlbpage.c
arch/ia64/ia32/binfmt_elf32.c
arch/ia64/mm/hugetlbpage.c
arch/ppc64/mm/hugetlbpage.c
arch/sparc64/mm/hugetlbpage.c
drivers/char/agp/alpha-agp.c
drivers/char/drm/drmP.h
drivers/char/drm/drm_vm.h
drivers/ieee1394/dma.c
drivers/media/video/video-buf.c
drivers/scsi/sg.c
fs/ncpfs/mmap.c
include/linux/mm.h
kernel/sys.c
mm/filemap.c
mm/memory.c
mm/shmem.c
sound/core/pcm_native.c
sound/oss/emu10k1/audio.c
sound/oss/via82cxxx_audio.c