]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] mm: do_swap_page race major
authorHugh Dickins <hugh@veritas.com>
Sun, 30 Oct 2005 01:16:15 +0000 (18:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 30 Oct 2005 04:40:39 +0000 (21:40 -0700)
commit3ad7d0c4b32fd9286f264c0481ce313ac2142fc4
tree6f7286ebbb2c4b8af7bb04897a64b054c67faa4a
parentc845a7e3ee43d91c17f90eca9b33274f7a534df3
[PATCH] mm: do_swap_page race major

Small adjustment: do_swap_page should report its !pte_same race as a major
fault if it had to read into swap cache, because whatever raced with it will
have found page already in cache and reported minor fault.

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