Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2997528pxa; Tue, 25 Aug 2020 08:44:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzeYUvRobh3OZh05jKYhk3O4K+s0nSbOKgOKX1Qrre8sf8FZK6JxmWjpGoOWrTo6lIWiAOQ X-Received: by 2002:aa7:d5d5:: with SMTP id d21mr11089256eds.229.1598370286992; Tue, 25 Aug 2020 08:44:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598370286; cv=none; d=google.com; s=arc-20160816; b=zDH0PPdiC/SXs4NBjf07OdRVLte+05ADaJ7/AoYdvqFFBN1mfL6nfzLJw1czfvK/FD bnOapvJPAtAK3pOWC2Kp8uJB1c7QpeEwWApNdYIVGla4CCB9263jcfci6A1g2hBsz3Dv rUg+mt5qDmjdV17Ap05uic64FWod7pOow+hlT/ETKpZK8XvI5mXkGeyrf7bBsM0XbaRM evSyM2/ZcKHOY1BjGtPTSqHrtXfFhyKxlvO/iVNbQGEu4yKfCV4BnpJh5UwwPoBLbnzo Y3L244IlP8b1Eawsan71EbljzhelYd2FPnMhB/DsEWIwzok7IbxZp69ZvvD9Q4LxDvuS D7Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=oingoz6Frqg2SQRAjjCpZonRfq5vy9M9TOZAsFU+QTQ=; b=mWrzAaqSYWKu+zKjyKL05ngiwHdlxXxwtjZ2sfRYFf1APcg6uRI0sOJLoaPxb0xgzn 4jY4rozjhdZlpz/9jJOvNB+d9R+r1q6xXskgQxtuOZMEFfEeLfbe9kWG2n02LgFLlL1k YJ4+rsxd1tSXJdOKEL5aYzvxhOfiFtvbcyaDEsuVveVP9vKS37eD167zVGalXmYFVHuN wY7nxBIQUKDws6W8NmgFz64atLi7olt9V2dliVkdNGkznKudPbqiqipxT0Irao+taIfx BVrbKpC0235jv62G54wYJq1/Si5S4VbdN67ENS/QbIKDiW6k1CIY10TwqjiApMaESUiH CwLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HnbIHLdz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn2si9551540edb.378.2020.08.25.08.44.24; Tue, 25 Aug 2020 08:44:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HnbIHLdz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726610AbgHYPlg (ORCPT + 99 others); Tue, 25 Aug 2020 11:41:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725998AbgHYPld (ORCPT ); Tue, 25 Aug 2020 11:41:33 -0400 Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44ACAC061574; Tue, 25 Aug 2020 08:41:32 -0700 (PDT) Received: by mail-qk1-x744.google.com with SMTP id b14so11317759qkn.4; Tue, 25 Aug 2020 08:41:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=oingoz6Frqg2SQRAjjCpZonRfq5vy9M9TOZAsFU+QTQ=; b=HnbIHLdznZEhj5FyyQQtndeXrdnwHnv+24GTDPoTYMpFbo6q86P02qs6c5vCxCm0tI xhW8JMR45zXRL5TpMnepCjbWZH1c3WHpWVYfkuLtI2ZeNUJOtrThuk00rc2LrnqM2PFR yh2VUfSUNvzAudIwDA2s3AsgkwcDv67xfJJ3pgNEaa3yu3Xqg/OhS3RbPWAdvxIW94Q7 NsBArqOH4KfMUTVq+i37Y6uMHVea8YeTtwiDmXO9fSK1xs0dQqT4374porZN3HAjZj6p F0ybDjVe9BCt6quZNAnL7LHm+DxfRhFQoe5NrRr0/3aVD/6ZH9lgmF/lEYjP+RZbjbp0 bSew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=oingoz6Frqg2SQRAjjCpZonRfq5vy9M9TOZAsFU+QTQ=; b=rXn3iTXOJ2cNJBL28LQ3vRIhjqW2inRS7tdq51wX1Xd+lHQXoF3h+thIetL1C7QW1B u5DOVy0ZsadNpMzvCAYKn2KL5Pna3ZwbEZ9rI7j0COIAcm7B9P476H+iQLPaROc1U27e x0OTrX3swR3PFYiwxtKmwdy/9EyxgMKSVAyHn1pOlTaBaQx2suRub0i0ZiXMywZgSizY ujCPLSKF5yJ22UgaXN+mOBAJVebfCwuqH+5xqxbQJuiw7KPe/HZG2OSDs8+MkaxZ/2iR CidxaaprpvPAnKiL4LCZcqMseIjv4zYZHa+hMHjvDnCibCCWxg1wgNP8n6w7C4qrH45c TkHQ== X-Gm-Message-State: AOAM530wRw440HmXwDNzcjsEF8PIAeWmAV1pYddlpfwaznMz5g7vjNsO hVLMqh3RlrZSZ1sOLMoxaiw= X-Received: by 2002:a37:8b01:: with SMTP id n1mr7072338qkd.62.1598370091385; Tue, 25 Aug 2020 08:41:31 -0700 (PDT) Received: from localhost.localdomain ([177.220.172.63]) by smtp.gmail.com with ESMTPSA id r6sm13827277qtu.93.2020.08.25.08.41.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Aug 2020 08:41:30 -0700 (PDT) Received: by localhost.localdomain (Postfix, from userid 1000) id B3A12C4BDE; Tue, 25 Aug 2020 12:41:27 -0300 (-03) Date: Tue, 25 Aug 2020 12:41:27 -0300 From: 'Marcelo Ricardo Leitner' To: David Laight Cc: "linux-kernel@vger.kernel.org" , "'linux-sctp@vger.kernel.org'" , Eric Biggers , 'Catalin Marinas' , "'kent.overstreet@gmail.com'" , Andrew Morton , 'Neil Horman' Subject: Re: [PATCH 00/13] lib/generic-radix-tree: genradix bug fix and optimisations. Message-ID: <20200825154127.GB2444@localhost.localdomain> References: <21289d79b0474811b21ed8478c465159@AcuMS.aculab.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21289d79b0474811b21ed8478c465159@AcuMS.aculab.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 25, 2020 at 02:52:34PM +0000, David Laight wrote: > The genradix code is used by SCTP for accessing per-stream data. > This means there are quite a lot of lookups but the code wasn't > really optimised at all. My test box is down for the moment and will bring it on later today or tomorrow, so I can't test it yet. What should we expect as performance gains here? Marcelo