Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2347099pxj; Mon, 10 May 2021 00:10:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFbzihsM/9Ek513aBVZiokM9cX1LJfg5goSGw2z7K4mRzv9O089RCPoMawV0SPt6Vs6dCk X-Received: by 2002:a05:6638:963:: with SMTP id o3mr10916477jaj.0.1620630625121; Mon, 10 May 2021 00:10:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620630625; cv=none; d=google.com; s=arc-20160816; b=fs2egDqnEBYHZHtZ3ar6j1MBsJfjjN/gBTogTCjuvECgYk/nN3BS32C5FJCogvBy1l RVRTJ/t1k+G61wQERLAiSnpxJrpZqRi3WcnlmLCLx5BL831SI2BPDOZQMI2TUrfVpb7w lL8W4iRRdRo8qvIFBoBJJ5bz3ebo6zv7KzyXtGaPX3XspC6KovvCaSrHy0zPmPogPFIe bG2eSVoyM4KjRxc9MAGeHSBirpXsmsmvD2oI8G1aXdRB0fByb0P/hYIg84/dX7Rj3+hD wJ8q3m3DBW6z9OoH38c3Fsb9a/Ei4WnOVUK28dZnkOPi3VterUQReBef2XLcwU0PA8ec uiog== 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:sender:dkim-signature; bh=0CHUOqR7/6H1oK4FSD7YVVjmtCKdO0zZLijsAd48zvc=; b=WbtHy6dngS8koJSer+VQdQyYAc8vEOE0P+vHYVsFk7zuTW7hW5MaNVUwqCYkn44s2I qsSSDZB9v/eZ3wciB+jbrvdmxdITPxEfI06v2U0d/Orh/tdLrxQjhiasFSdLWurIgBu9 7NQCE9rVj1KCe0y547EgLS46v+6Zly8AWUhFlHMhMue09KsWThhMJKHDbcLhk6tIYVE+ 7nTq64VQ1SXPRcGDk2sMnTzISpyU5LaooTni5XNYPw4Ncr1WYQFavwsUqf5OCMwwJuWj 4fyPtDtpv0cNgSoFM2sxO8u0Cjc71tS+OH65n9aaKIpvupc2KxRd1iNM63vbqertQa1p IE3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mf3VK1MI; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k26si3940924jap.39.2021.05.10.00.10.12; Mon, 10 May 2021 00:10:25 -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=mf3VK1MI; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230105AbhEJHKH (ORCPT + 99 others); Mon, 10 May 2021 03:10:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230002AbhEJHKG (ORCPT ); Mon, 10 May 2021 03:10:06 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C68CC061573; Mon, 10 May 2021 00:09:01 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id l4so22872403ejc.10; Mon, 10 May 2021 00:09:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=0CHUOqR7/6H1oK4FSD7YVVjmtCKdO0zZLijsAd48zvc=; b=mf3VK1MIRy4CFEQRAmNjb53ZfY4H1BMaZ0Gx3dZEcf8ctXJoZWDf2jEMhvIxzoxyuI BUOKek91RdMkyVUBdaw+t6bLWgL2d73H25g2MzE6bz7oLD8ivDuzly/qmkrxXbmDNH7R Rq/zMQTU0/TraVY3jD+H/gRwC4BQQiBWmkaCdjajNLqc+u4+4cxWfAATSzn/cddM2y2a DwAEESVIoRedDEmNA7wGfggknVVvIPc8cnrDWxjH5ElfNIbuqQCSTxBXHnq8HooH6UVT jqV9st5IZ7T4AO5HpBerfcFGe/jcVvkh9tteM8LqIwDoHqgrCauHlEO13tRyR6shsEN5 dK8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=0CHUOqR7/6H1oK4FSD7YVVjmtCKdO0zZLijsAd48zvc=; b=mCY03Vjt16wtTeI2b3O29dHmGRgFXbfl/vIxTWrPBtsx53Y6Duf6QG7XlTwYz9gjh7 LU5nWMFqeV3O/Sntb9b0PiAoIrNz2HDBh6YzLwNQ68Hn8uLzbfHZw5/1bvmEuat6++F5 bhfD9RMxBt/lzD6r0dInwAPGRPbpuFa9N7JBH5u0qvhgLO755eh8Tt2JztTE51brvr2K zbzbo1145JImgAneq6OSqNp7AYX1PLgwtaZ61IoLgrRpvb+sC1i1WP+JkUwC1tEqmVGi P3zjdYsm8ZgqmzbtS1TQuXE4JCfogVqHBrjXAmMXmV/PqBW8/fb1p4tFXQoysyHg6H1e rAUw== X-Gm-Message-State: AOAM533XQ+8x/yK+KuBZFOH9QjZCDSWEywDu9kYa9K2mhVlpRKwJe1Uy tXeboaI0X9q57VlArBKUZ5ok9Ac5LsE= X-Received: by 2002:a17:907:3e23:: with SMTP id hp35mr24575568ejc.437.1620630540127; Mon, 10 May 2021 00:09:00 -0700 (PDT) Received: from gmail.com (0526E777.unconfigured.pool.telekom.hu. [5.38.231.119]) by smtp.gmail.com with ESMTPSA id p4sm8413406ejr.81.2021.05.10.00.08.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 00:08:59 -0700 (PDT) Sender: Ingo Molnar Date: Mon, 10 May 2021 09:08:57 +0200 From: Ingo Molnar To: Peter Zijlstra Cc: tglx@linutronix.de, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, bsingharora@gmail.com, pbonzini@redhat.com, maz@kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, riel@surriel.com, hannes@cmpxchg.org Subject: Re: [PATCH 0/6] sched,delayacct: Some cleanups Message-ID: References: <20210505105940.190490250@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210505105940.190490250@infradead.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Peter Zijlstra wrote: > Hi, > > Due to: > > https://lkml.kernel.org/r/0000000000001d43ac05c0f5c6a0@google.com > > and general principle, delayacct really shouldn't be using ktime (pvclock also > really shouldn't be doing what it does, but that's another story). This lead me > to looking at the SCHED_INFO, SCHEDSTATS, DELAYACCT (and PSI) accounting hell. > > The rest of the patches are an attempt at simplifying all that a little. All > that crud is enabled by default for distros which is leading to a death by a > thousand cuts. > > The last patch is an attempt at default disabling DELAYACCT, because I don't > think anybody actually uses that much, but what do I know, there were no ill > effects on my testbox. Perhaps we should mirror > /proc/sys/kernel/sched_schedstats and provide a delayacct sysctl for runtime > frobbing. Reviewed-by: Ingo Molnar (This includes the #6 RFC patch.) Thanks, Ingo