| Date | Fri, 5 May 2023 05:04:28 +0100 | From | Matthew Wilcox <> | Subject | Re: [RFC PATCH 01/11] rust: add radix tree abstraction |
| |
On Wed, May 03, 2023 at 11:06:58AM +0200, Andreas Hindborg wrote: > From: Andreas Hindborg <a.hindborg@samsung.com> > > Add abstractions for the C radix_tree. This abstraction allows Rust code to use > the radix_tree as a map from `u64` keys to `ForeignOwnable` values.
Please, no. The XArray interface is the preferred one; the radix tree is legacy. Don't make Rust code use the radix tree. It has the GFP arguments in the wrong place, for one thing.
|