diff options
author | Konstantin Khlebnikov <[email protected]> | 2014-06-04 16:05:30 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-06-04 16:53:51 -0700 |
commit | 1d46598b7903cd5ec83c49adbd741f43bb0ffcdc (patch) | |
tree | 162df1711beca7f301a0c1d8b1967dde7012e72c /lib/timerqueue.c | |
parent | d27050641e9bc056446deb0814e7ba1aa7911f5a (diff) |
tools/vm/page-types.c: catch sigbus if raced with truncate
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 <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions