From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B226C433DB for ; Tue, 26 Jan 2021 23:41:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E7A0B20665 for ; Tue, 26 Jan 2021 23:41:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388743AbhAZXZ5 (ORCPT ); Tue, 26 Jan 2021 18:25:57 -0500 Received: from mx2.suse.de ([195.135.220.15]:41478 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726308AbhAZGAi (ORCPT ); Tue, 26 Jan 2021 01:00:38 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id A3920AF52; Tue, 26 Jan 2021 05:59:55 +0000 (UTC) Date: Mon, 25 Jan 2021 21:59:49 -0800 From: Davidlohr Bueso To: Peter Zijlstra Cc: linux-kernel@vger.kernel.org, walken@google.com, mingo@kernel.org, tglx@linutronix.de, oleg@redhat.com, irogers@google.com, juri.lelli@redhat.com, vincent.guittot@linaro.org Subject: Re: [PATCH v2 5/7] rbtree, uprobes: Use rbtree helpers Message-ID: <20210126055949.wriil3xj7wx5peed@offworld> References: <20210125150953.679129361@infradead.org> <20210125151314.888570583@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20210125151314.888570583@infradead.org> User-Agent: NeoMutt/20201120 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 25 Jan 2021, Peter Zijlstra wrote: >Reduce rbtree boilerplate by using the new helpers. This reminds me of: https://lore.kernel.org/lkml/20200207180305.11092-6-dave@stgolabs.net/ Would a walk optimization (list+rbtree) serve here? Not sure how big the uprobes_trees gets. Thanks, Davidlohr