diff options
author | Vitaly Wool <[email protected]> | 2017-02-24 14:57:17 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-02-24 17:46:54 -0800 |
commit | ede93213aab623b3343f1d7dcb03aebac0489357 (patch) | |
tree | 9d1dafaa9b91260cc8f7d25af7d50c8809865338 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 12d59ae678242b383671abb7ffa3c94bb2d6c4de (diff) |
z3fold: fix header size related issues
Currently the whole kernel build will be stopped if the size of struct
z3fold_header is greater than the size of one chunk, which is 64 bytes
by default. This patch instead defines the offset for z3fold objects as
the size of the z3fold header in chunks.
Fixed also are the calculation of num_free_chunks() and the address to
move the middle chunk to in case of in-page compaction in
z3fold_compact_page().
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Vitaly Wool <[email protected]>
Reviewed-by: Dan Streetman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions