diff options
author | 2023-04-11 02:45:40 -0300 | |
---|---|---|
committer | 2023-04-22 00:20:00 +0200 | |
commit | 8da7a2b7432e8f043f04515895687f72cdb3e0a8 (patch) | |
tree | 8dd15c2ad5e49e92aba260bed3a9a49b7759ebc5 /scripts/gdb/linux/utils.py | |
parent | rust: add basic `Task` (diff) | |
download | linux-rng-8da7a2b7432e8f043f04515895687f72cdb3e0a8.tar.xz linux-rng-8da7a2b7432e8f043f04515895687f72cdb3e0a8.zip |
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 <mingo@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
Signed-off-by: Wedson Almeida Filho <walmeida@microsoft.com>
Link: https://lore.kernel.org/r/20230411054543.21278-10-wedsonaf@gmail.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions