diff options
| author | Gary Guo <gary@garyguo.net> | 2026-07-16 15:25:43 +0100 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-07-21 00:48:25 +0200 |
| commit | c2d8b262057c0707ef5a1cd8e80842b7fde281b8 (patch) | |
| tree | b6452b125cddfb298072b4ae6014295ab25449b5 /tools/perf/scripts/python/task-analyzer.py | |
| parent | f7acb19abcd867e5d2e1feb6197dcc65aa3b8e45 (diff) | |
rust: io: document const-offset requirement for infallible accessors
Due to the usage of `build_assert!` for address validity checking, these
accessors want constant offsets. Non-constant offsets can work but it
depend on compiler optimization levels, so it should be avoided.
Signed-off-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://patch.msgid.link/20260716142545.3622278-1-gary@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
