Re: [PATCH v2 2/4] rust: task: implement == operator for Task
From: Gary Guo
Date: Fri Feb 27 2026 - 07:25:16 EST
On Fri Feb 27, 2026 at 9:34 AM GMT, Alice Ryhl wrote:
> It's useful to compare if two tasks are the same task or not. Rust
> Binder wants this to check if a certain task is equal to the group
> leader of current.
>
> Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
Reviewed-by: Gary Guo <gary@xxxxxxxxxxx>
> ---
> rust/kernel/task.rs | 9 +++++++++
> 1 file changed, 9 insertions(+)