Re: [PATCH v2] rust_binder: speed up get_node_debug_info using lower_bound iter
Alice Ryhl <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all,org.kernel.vger.rust-for-linux |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Aug 13, 2026 at 10:15:46AM -0300, Rafael Passos wrote:
> Hi Alice,
>
> Do you want me to send a v3 with this rustfmt change ?
Yes please make sure your patch passes rustfmt.
Thanks, Alice
> On Mon Aug 10, 2026 at 4:29 PM -03, kernel test robot wrote:
> > ...
> > {
> > let inner = self.inner.lock();
> > // cursor_lower_bound retrieves the "key" passed or the next existing larger key
> > - if let Some(cursor) = inner.nodes.cursor_lower_bound(&(ptr+1)){
> > + if let Some(cursor) = inner.nodes.cursor_lower_bound(&(ptr + 1)) {
> > let (_, node) = cursor.current();
>
> Thanks,
> Rafael Passos