Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp190621pxb; Wed, 22 Sep 2021 19:51:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQvzs0BjmpliqYb/6B38ZUU5/JpzsDTBnvknyM1B+9qx5NEHwUM9Nl9xGQizx2ynGB4fbW X-Received: by 2002:a05:6638:14cd:: with SMTP id l13mr2036685jak.90.1632365518083; Wed, 22 Sep 2021 19:51:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632365518; cv=none; d=google.com; s=arc-20160816; b=IT7N3DmNFeMVqXp6sTWEeQQ/jsbSmQKrl0U9S9omyvTIeiB7hPrj61lHutaPjQVpt5 A2kKosyEYjk8Fq5lFJleZZwSIBSxYWoVhC7WtOET0kGsRBAFYKXjqjqzlDe6VHP4NF3/ e1WesBpgqy6sNl0k4aIVg4BohjeuM4Dx84sca/gdW8EEO7yNOOkWV6BpWmD8cLRL+9YF eOdCsv4T+NISZhe3/91/mqlFDfSdY6vENEHyymR2Qr1ij8v75D1ehcLfwpqpoyRRdvZG XL8YKXUliKHIEaFRbjIGSIczt5tN13pEo4SsixZXbNoKHvHFHNzSTY74eN/IK8/2aJyk BNGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=xLdsl8kzcMimc82CMKplU0g9FfAdCqs4Pu32SbQeCEE=; b=uuyRuq3XZvN8czKJvIlYu0tYBaA0l0aNcwmM1W4MF+I2UmOeaD9PkxLVqaVxNtbWJF FXJF9UEWD1cwUwZTIhx9+4PEousRnqAHyn1DuwKeG3Y88AfaQZIN3eb9BNXXiKHZNDpZ bIRn+vVcDzpUr8YGTnSaBaapk9pfui/9PM1bKm+uQRtINUqKt5rD8LLvR1jWvKg/o+PP q/v9d3odK5/qEIjcH+cj7hyK3zPuTnTlPkjXxL2b10KXGHxMWg+S3JySfzX3OVmnSo+M jShC29crgEu8d5ybMiQzDAEgsu9yw8yYPod50tU/muQDvmMdaL6L6FcE5eLuOEIh6Pcc R3nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=VmLDghvM; 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=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r199si4944110jac.71.2021.09.22.19.51.35; Wed, 22 Sep 2021 19:51:58 -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=@linux.microsoft.com header.s=default header.b=VmLDghvM; 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=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238937AbhIWCvQ (ORCPT + 99 others); Wed, 22 Sep 2021 22:51:16 -0400 Received: from linux.microsoft.com ([13.77.154.182]:35344 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238859AbhIWCvP (ORCPT ); Wed, 22 Sep 2021 22:51:15 -0400 Received: by linux.microsoft.com (Postfix, from userid 1095) id A96792089EE2; Wed, 22 Sep 2021 19:49:44 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com A96792089EE2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1632365384; bh=xLdsl8kzcMimc82CMKplU0g9FfAdCqs4Pu32SbQeCEE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VmLDghvMOMaar/xy4oNVDrTSqTn1kSdaJeEQDQMbBKJhEFZ1tzX+9xBHQgvWlUGKK hDwQ4dXCehdZLDGP/friH+rvyOL5zDC9sN8jx0PksOkKAqI+jzpPU/6De7y1lQasc8 b79lFP9YxU7dC2G6i0ZViHG7tx36/Jrf3uCM6+k8= Date: Wed, 22 Sep 2021 19:49:44 -0700 From: Muhammad Falak Wani To: Andrii Nakryiko Cc: Daniel Borkmann , Muhammad Falak R Wani , Alexei Starovoitov , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Networking , bpf , open list Subject: Re: [PATCH v2 bpf-next] libbpf: Use sysconf to simplify libbpf_num_possible_cpus Message-ID: <20210923024944.GA446@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20210922070748.21614-1-falakreyaz@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > This approach is unfortunately broken, see also commit e00c7b216f34 ("bpf: fix > > multiple issues in selftest suite and samples") for more details: > > Oh, that predates me. Thanks, Daniel! Thank you Daniel for the context. > > Sorry, Muhammad, seems like current implementation is there for a > reason and will have to stay. Thanks a lot for working on this, > though. Hopefully you can help with other issues, though. > No worries at all, it was a good experience for me & I will try to help here and there for sure. Thank you again! -mfrw