[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
<SEZPR06MB526969B02B2896B80B3F68ADE8BC2@SEZPR06MB5269.apcprd06.prod.outlook.com>
Date: Thu, 17 Apr 2025 13:38:48 +0000
From: 李扬韬 <frank.li@...o.com>
To: "dsterba@...e.cz" <dsterba@...e.cz>
CC: "clm@...com" <clm@...com>, "josef@...icpanda.com" <josef@...icpanda.com>,
"dsterba@...e.com" <dsterba@...e.com>, "linux-btrfs@...r.kernel.org"
<linux-btrfs@...r.kernel.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>
Subject:
回复: 回复: [PATCH 1/2] btrfs: convert to spinlock guards in btrfs_update_ioctl_balance_args()
> Yeah, there always is. The open coded rb_tree searches can be converted to the rb_find() helpers. It ends up as the same asm code due to inlining and reads a bit better when there's just one rb_find instead of the while loop and left/right tree moves.
OK, thank you very much for the detailed idea!
I will spend time on this.
MBR,
Yangtao
Powered by blists - more mailing lists