Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp564457pxb; Tue, 3 Nov 2020 06:56:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJxAYejBSBDjZh/lr7xObgMKxQ95gMj4YlJ6q/pE4/30hIimTZK447bOskiRtC1J0r3JPJaP X-Received: by 2002:a17:906:745:: with SMTP id z5mr21714042ejb.408.1604415398900; Tue, 03 Nov 2020 06:56:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604415398; cv=none; d=google.com; s=arc-20160816; b=pUcmPXFu7CAbkOcgNALjDp9GoscONyooCrh9au/iyZVTnkXkvF1uCFmogbyRTLOU3G iDiUk7g86IKW1pJGyhGpnZFbywMp+02nWesmczmT5wFkB/5iwpH/UXegL28MvxY73qhi DFycAPAhIfjcx2dLpl1By57gwkSWy+SPM7beQgYnlYeXxH/p4+JuGCr/uiOhsuV3J9fG q/C4VX2wuQmGIApB2sEdsa4W/6jhK/GrrCFSKHDD+1jiXQrc3ehfvSvGzp1OhzS4CcYy wveB+eIHur/LWGnkNFzJVCCS/xvVeUH0xBPIQ93GFBXWCTlOEf93wiHYjJmGEJYNas4W 4CUQ== 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:dkim-signature; bh=ziLXV25+/VgkRjtCBH8eTUr48viz4+7r4YIXYGGc87k=; b=sAGANF6OI91dytiX13iHwMJyO8MSR6kR3aS63IreuA37Cjfw7soJmJbC2TjrGTDVFy IKWwNa0aooYFO9niQAuaq9tShzksJp5SS1sFSTIZ8NqYERG141T4Tndv+UHPqIP3uhPj kotlL3bLKyk2p6gqKpxvNrdH0o+KImtU+yw+rOCUAoumYtSYtit43jz81xXwkJxBIqCW F7PbX3SGx9H0RNt0R3z/zHviWGB4x6Oe659Ld63gaIccBYDjt8BlPkjR+OvKqZyi9Nrj fWTH3JHPEz6TrpJjDA74eK9u5LcdXkt/JNeCRRVgD0a1pqm0kX8jLAnqk5x2A+YufLJP Pzyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=GzOPzNmf; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r25si20503078edc.210.2020.11.03.06.56.16; Tue, 03 Nov 2020 06:56:38 -0800 (PST) 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=@chromium.org header.s=google header.b=GzOPzNmf; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727986AbgKCOw5 (ORCPT + 99 others); Tue, 3 Nov 2020 09:52:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727787AbgKCOwY (ORCPT ); Tue, 3 Nov 2020 09:52:24 -0500 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88CDEC0613D1 for ; Tue, 3 Nov 2020 06:52:23 -0800 (PST) Received: by mail-lj1-x242.google.com with SMTP id x6so19355657ljd.3 for ; Tue, 03 Nov 2020 06:52:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ziLXV25+/VgkRjtCBH8eTUr48viz4+7r4YIXYGGc87k=; b=GzOPzNmfOxjgnsy4Kf5awce40cdqg1bFz8bapoBLI8vlmAZSWoMxZtz3BxYhoLTPvV POC+tT0f/y6GlaQMOhzPLQfu50Q6WNYudaOL47leJTZWiNdP6AkaPJLl996Zv1rreZNf rMQ9b/OvY3d7NvYAdhnCF4Wo0dsyPWqFc2Ei4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ziLXV25+/VgkRjtCBH8eTUr48viz4+7r4YIXYGGc87k=; b=a0V48nKcAXXqJa0yNWEQZ/2jXgLOvfYug4Fw9nJQks8qX7iUuFcUZtWuI+17K9Htm2 HCz4ipbX8VUA+4OKER/WHGmeUd8CvG4ggCZKzL0yD85Lz+dgXJvQTNxPZ8NrURzQJlOY j/UlDxdCpCH9ym9eYHOUWC5nfOlBYohedR8HMxofWHgXpu8xSpO11qGE9cQPob9cnm8z zFomlXnE/9C4gAnBM2p+tVDwJJM3IgmG39zSB8qXpJ95IBl7b7ylRtb0TUN8KqbZTeoB zwgtDVxEU2XSFk9Kphg+ZQ8tcE3tajKxeHXN+pYk7WWDlaIAHdcNK49/vBDZW+1Np2sc 9gpw== X-Gm-Message-State: AOAM531vjVxDYNRLG3jUNvLV+bf59MVMGDqZwg+zqWEhvUdguUsBTeJK jXVkTc6aaVD/gV5vtVTm69i5og3QgChnzxIs4RjoEQ== X-Received: by 2002:a05:651c:1345:: with SMTP id j5mr9327077ljb.430.1604415142054; Tue, 03 Nov 2020 06:52:22 -0800 (PST) MIME-Version: 1.0 References: <20201027170317.2011119-1-kpsingh@chromium.org> <20201027170317.2011119-2-kpsingh@chromium.org> <20201028012206.zsa3udr7rqqe3q7y@kafai-mbp> In-Reply-To: <20201028012206.zsa3udr7rqqe3q7y@kafai-mbp> From: KP Singh Date: Tue, 3 Nov 2020 15:52:11 +0100 Message-ID: Subject: Re: [PATCH bpf-next 1/5] bpf: Implement task local storage To: Martin KaFai Lau Cc: open list , bpf , Alexei Starovoitov , Daniel Borkmann , Paul Turner , Jann Horn , Hao Luo Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [,,,] > > + * > > + * void *bpf_task_storage_get(struct bpf_map *map, void *task, void *value, u64 flags) > After peeking patch 2, I think the pointer type should be > "struct task_struct *task" instead of "void *task". > > Same for bpf_task_storage_delete(). Done. Thanks!