Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6818234rwl; Mon, 9 Jan 2023 13:32:16 -0800 (PST) X-Google-Smtp-Source: AMrXdXsuqMJP9Ky2soIwhkZWGSrU6mmBjGyLmQ2QxEqDO5cTqZzYpf2AoXZPi+/OLK2VaL0ni57F X-Received: by 2002:a17:907:a789:b0:7c0:bbab:22e5 with SMTP id vx9-20020a170907a78900b007c0bbab22e5mr60561044ejc.16.1673299936096; Mon, 09 Jan 2023 13:32:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673299936; cv=none; d=google.com; s=arc-20160816; b=e555l63VCKHynLvOwPJrEw9GJbXK/7NA7lUcQDaZWSD0ctAj92SU1q4Q5hWCwJFZ3h jeEurdRAHISJMIiYUoX7SYygIyImi894k23zno1QpxUZSLhxeDL33jrK78EgkaRG2Ua7 Xo4a75Yc0mlufjp6sVoNrdJf6H8S1fqYnCtRz7W+ksUO09McrV3EQ6sAHrHPEQflC3bq PbRVNPN0qNEQ0EK12QX0v85LEMqsmSCtq7hvKoKlXE5wnKVMk5HbyKMQOjki8CkDL2Pf QwfvK5THkXA0FXcpShfSa9MA4Um8v2tdxXSwmlLfhtvkfPqijUJfzj1uweShxOOa6Ili /5aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=CIKIeVI9cDZK3UUYwVf3OoJq2XGVCB5nNRQ8JkzNuQM=; b=RbWTbLtICG21x0qjrNuAzjfQ8jS030iYkZf/LMcNXCtgucx8jdLhVvjd7CJFNQdjss l17ul3Xp++gkfLrjPQ+SnsQF8+rR6vBqvv1IOKFM0jxdzRVtKjDnnLbamG2gO8uU0D1q 0eStvQjEY7ctKCXzDLUn0OhclYRSVq0ZA0yackmVU6OrjFCsMhCrSCdC2OoSVB08dYoL QI2C1tXDTAUlUFlaxLPiyS4YAVq+/akoVG4iFJelC92rV9Ouk8vm/Wn74qa0vXKkx54u bSW10GM0qNN45KVhffYcxzZM1IVOK02FCYn+vNcIAVYZ+MwTTQWiTdYxjTfxCGpbqliz b4qg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb29-20020a1709071c9d00b0084c04d15e97si10502034ejc.499.2023.01.09.13.32.02; Mon, 09 Jan 2023 13:32:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235313AbjAIVCi (ORCPT + 53 others); Mon, 9 Jan 2023 16:02:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237778AbjAIVCM (ORCPT ); Mon, 9 Jan 2023 16:02:12 -0500 Received: from mail-io1-f52.google.com (mail-io1-f52.google.com [209.85.166.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9019B15FE4; Mon, 9 Jan 2023 12:56:25 -0800 (PST) Received: by mail-io1-f52.google.com with SMTP id v65so881250ioe.4; Mon, 09 Jan 2023 12:56:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CIKIeVI9cDZK3UUYwVf3OoJq2XGVCB5nNRQ8JkzNuQM=; b=cf5Q4LN3IYQ+v7ajNK+z1qKxX9vG6G3BZNW6kcrn5JWse3/VNgC17O+D7WY5l7FTve SeX/g7158E7s8ifmTPiQPgEQAxi3K7YGGeZ0AOyqU/L9/wlJ4/P+gmI9gUckYo2pbfqS U2g2CRVfIU3XaqCDCRsLJ4eUCImD5DBBXxXg66abtpts3xgRsDSIPP9YrZb1ygFHc2QJ lEWgq9IhAUBQlnN1Lx0xhYXGCOrDE8n+/25+UkVDdIwcaFEsSJrSwbhWq2Qrwbe6g/Ea lHSi+eSdawwHJBwzzp/AYQ5h1MJy4dRe/6Sg4apJaXXXNsIHWQ7Hw/mYYLWhCOohua4v 39LA== X-Gm-Message-State: AFqh2krWDrJoRmiaH+A6djJbdXCUC381jK9umzTqN/yYJONv34nLYNoK OGz9/iT4nxJ+bdCZPQhUyVVXM32lYy2gtu/se9so+d4Y X-Received: by 2002:a6b:e717:0:b0:6bb:e2f0:d5e9 with SMTP id b23-20020a6be717000000b006bbe2f0d5e9mr5067419ioh.119.1673297784251; Mon, 09 Jan 2023 12:56:24 -0800 (PST) MIME-Version: 1.0 References: <20221118190109.1512674-1-namhyung@kernel.org> In-Reply-To: From: Namhyung Kim Date: Mon, 9 Jan 2023 12:56:13 -0800 Message-ID: Subject: Re: [PATCH] perf lock contention: Do not use BPF task local storage To: Martin KaFai Lau Cc: Ingo Molnar , Peter Zijlstra , LKML , Ian Rogers , Adrian Hunter , linux-perf-users@vger.kernel.org, Song Liu , bpf@vger.kernel.org, Blake Jones , Chris Li , Arnaldo Carvalho de Melo , Jiri Olsa Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Mon, Nov 21, 2022 at 9:33 AM Martin KaFai Lau wrote: > > On 11/18/22 11:01 AM, Namhyung Kim wrote: > > We could fix the task local storage to use the safe BPF allocator, > > but it takes time so let's change this until it happens actually. > > I also got another report on the kfree_rcu path. I am also looking into this > direction on using the BPF allocator. Any progress on this? Are there any concerns about the change? Thanks, Namhyung