diff options
author | Wedson Almeida Filho <[email protected]> | 2023-08-28 10:48:03 +0000 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2023-09-25 09:46:42 -1000 |
commit | 033941307471787ef8ee65bfc411dcbb6a81ea18 (patch) | |
tree | 636b532076a42e8d2ab47fc82aa9dfbbb7ad8a34 /lib/test_vmalloc.c | |
parent | d4d791d4aac041fde6eeba0a8f9201d728b52373 (diff) |
rust: workqueue: define built-in queues
We provide these methods because it lets us access these queues from
Rust without using unsafe code.
These methods return `&'static Queue`. References annotated with the
'static lifetime are used when the referent will stay alive forever.
That is ok for these queues because they are global variables and cannot
be destroyed.
Signed-off-by: Wedson Almeida Filho <[email protected]>
Co-developed-by: Alice Ryhl <[email protected]>
Signed-off-by: Alice Ryhl <[email protected]>
Reviewed-by: Martin Rodriguez Reboredo <[email protected]>
Reviewed-by: Gary Guo <[email protected]>
Reviewed-by: "Andreas Hindborg (Samsung)" <[email protected]>
Reviewed-by: Benno Lossin <[email protected]>
Reviewed-by: Boqun Feng <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'lib/test_vmalloc.c')
0 files changed, 0 insertions, 0 deletions