diff options
author | Wedson Almeida Filho <[email protected]> | 2023-04-11 02:45:40 -0300 |
---|---|---|
committer | Miguel Ojeda <[email protected]> | 2023-04-22 00:20:00 +0200 |
commit | 8da7a2b7432e8f043f04515895687f72cdb3e0a8 (patch) | |
tree | 8dd15c2ad5e49e92aba260bed3a9a49b7759ebc5 /scripts/gdb/linux/proc.py | |
parent | 313c4281bc9dfa98d76a71b16a684af1c52e7751 (diff) |
rust: introduce `current`
This allows Rust code to get a reference to the current task without
having to increment the refcount, but still guaranteeing memory safety.
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Reviewed-by: Martin Rodriguez Reboredo <[email protected]>
Signed-off-by: Wedson Almeida Filho <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions