diff options
author | Dave Chinner <[email protected]> | 2014-02-10 10:37:18 +1100 |
---|---|---|
committer | Dave Chinner <[email protected]> | 2014-02-10 10:37:18 +1100 |
commit | 3895e51f6dbf6610519be070a3bede811f6ac4fb (patch) | |
tree | 30e465d362e605c15490c4b224c930d10d6a3194 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | fe60a8a0919eeee862054137fed49f00b710d9cd (diff) |
xfs: ensure correct log item buffer alignment
On 32 bit platforms, the log item vector headers are not 64 bit
aligned or sized. hence if we don't take care to align them
correctly or pad the buffer appropriately for 8 byte alignment, we
can end up with alignment issues when accessing the user buffer
directly as a structure.
To solve this, simply pad the buffer headers to 64 bit offset so
that the data section is always 8 byte aligned.
Signed-off-by: Dave Chinner <[email protected]>
Reported-by: Michael L. Semon <[email protected]>
Tested-by: Michael L. Semon <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions