Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5582712pxb; Wed, 19 Jan 2022 23:42:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJyOc49/Sln8oT8In/yVppk8rqKtf9gdmJ5m7RlB15tHAA1cfJueeggR2EinuBrYyZ1FOGm2 X-Received: by 2002:a17:902:ba87:b0:14a:f3ce:37b3 with SMTP id k7-20020a170902ba8700b0014af3ce37b3mr6251414pls.95.1642664525900; Wed, 19 Jan 2022 23:42:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642664525; cv=none; d=google.com; s=arc-20160816; b=xx4k6cbhGgDFATWlNqLJ2SNxaDFPR0w0+QeDtCtdA1rX2NAWZVAg+qxlmKcyPt36K5 8PyIIWORIqNnTQw3FOi9Q9CYas9z/0DYdzxz+XxUW67fwcovAq0/C6MwZaQUv/iWyhR7 Kp2TfOH/umRMEy+TZUjULJNx+xlIBq3MmrR79Uzd9btUY/w/QSI3tO0Kqh4gacW3uG3L lRF15SEgC+HahNf6U9A7BdH/WeorC9fC1NLSAQA2z8meBziMOg3GDjXJ/laVHSERChLw 8LnhqOX4XF5myE44ceUuyBfThkXSCc15G7scY4p/eoNuJNbMhkQbICZR5mhAfF0g3FOP B5ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=IFZUkU5fxILimkrsOSgEsRNPJsOZCUf1BuMxwFRoTH0=; b=xfs6+ODMkzEukUx6Kssgjhoy6IJYlJIJSFYFAnzb9FhZ0bZzfWhySxbnCEhnGn5rD6 30F7VdWNGbx2uHRuUrxfvQEoXIU/uanS/KV5+ClDyKYa8KOuWzXRcexwsSG+HjZyGE5L oPEl4tGEh9Gp4WfhBj3AajSW3/06J1LLHTLZ8VcsM+chzyKXPtuKAtkbixuhk0D3N6fX PMwt4JCdHY/P6qgP96hupB9YXlfvbvQj9OQrWqqtzLxEMzwajIEcrCJ4OdApnc9sWLpa YGCLFL6Rbk9I5opuYr4yRqFB0tYk0/4HceKMK7VKs+mdkcbL1S5xyy7ai4sVEp3Nk0RI 22Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=QeyVfgIo; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c17si2310385pfr.17.2022.01.19.23.41.53; Wed, 19 Jan 2022 23:42:05 -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=@infradead.org header.s=desiato.20200630 header.b=QeyVfgIo; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239921AbiARLUH (ORCPT + 99 others); Tue, 18 Jan 2022 06:20:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240153AbiARLTs (ORCPT ); Tue, 18 Jan 2022 06:19:48 -0500 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98E18C06173F for ; Tue, 18 Jan 2022 03:19:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=IFZUkU5fxILimkrsOSgEsRNPJsOZCUf1BuMxwFRoTH0=; b=QeyVfgIopjN5XrtQB0oeboW0dQ uAPVgRvwTLVImLLBIVSJo7RulFuEq0rxJj2wYJAIx4KYsLJop2BEMN9iepogU1czEHFDB9R5N0LMM UA61gmmW0YfhNqvfi8ZtlIhhJstQiDEDYEQGSOrkYRebM4Y65sCnjfM7V+DEbruxhjTs9Vvd8LC1Q oGR2jkXpxjQLjNJh7CrE2vpVpr7u6bYzRtQToVpGcfLsWvm1LIuJceZ3NGqIfowHMXa82L+dLtB+D Gy7gRa0Re1KpjxsBFebbjSXdpXm+2p4+qP1g0roSg5hnqmSTUbUCpunrLmQCD1sbe155zl4eeZ2QO d+x6kRrA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1n9mWK-001pn0-Rt; Tue, 18 Jan 2022 11:19:25 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 0D2F3300237; Tue, 18 Jan 2022 12:19:21 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id EA0BC2B56E8B4; Tue, 18 Jan 2022 12:19:20 +0100 (CET) Date: Tue, 18 Jan 2022 12:19:20 +0100 From: Peter Zijlstra To: Bharata B Rao Cc: linux-kernel@vger.kernel.org, mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, srikar@linux.vnet.ibm.com, riel@surriel.com Subject: Re: [PATCH] sched/debug: Remove mpol_get/put and task_lock/unlock from sched_show_numa Message-ID: References: <20220118050515.2973-1-bharata@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220118050515.2973-1-bharata@amd.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 18, 2022 at 10:35:15AM +0530, Bharata B Rao wrote: > The older format of /proc/pid/sched printed home node info which > required the mempolicy and task lock around mpol_get(). However > the format has changed since then and there is no need for > sched_show_numa() any more to have mempolicy argument, > asssociated mpol_get/put and task_lock/unlock. Remove them. > > Fixes: 397f2378f1361 ("sched/numa: Fix numa balancing stats in /proc/pid/sched") > Signed-off-by: Bharata B Rao Thanks!