diff options
author | Konstantin Khlebnikov <koct9i@gmail.com> | 2014-06-04 16:05:30 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-30 20:13:54 -0700 |
commit | 99a9ff3961e3b4f33e391e09772a456330e7e109 (patch) | |
tree | 499546e0efe51bacb2ce4571299141af13e356e3 /arch/ia64 | |
parent | 5ff2117cf81c53f2b1e3e47a38451c792da4b330 (diff) |
tools/vm/page-types.c: catch sigbus if raced with truncate
commit 1d46598b7903cd5ec83c49adbd741f43bb0ffcdc upstream.
Recently added page-cache dumping is known to be a little bit racy.
But after race with truncate it just dies due to unhandled SIGBUS
when it tries to poke pages beyond the new end of file.
This patch adds handler for SIGBUS which skips the rest of the file.
Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/ia64')
0 files changed, 0 insertions, 0 deletions