Wedson Almeida Filho 8da7a2b743 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>
2023-04-22 00:20:00 +02:00
..
2023-04-22 00:20:00 +02:00
2023-04-22 00:20:00 +02:00
2022-12-04 01:59:16 +01:00
2022-12-04 01:59:16 +01:00
2023-04-22 00:20:00 +02:00
2023-02-26 11:53:25 -08:00