Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp24537pxj; Fri, 7 May 2021 02:54:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyWtB5KVXFGw+UUAW9Qt5K4u+KYrOScjtdRvpJveoW4327xH1+Ux0JMfw3k/mrIyjN/Sak X-Received: by 2002:a17:907:a076:: with SMTP id ia22mr8961175ejc.233.1620381255649; Fri, 07 May 2021 02:54:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620381255; cv=none; d=google.com; s=arc-20160816; b=HsIteZYWiZMfJzlH+XRthq9ahDPopmdMPDUrAEjfsiKi2Gc4oAQAObHCVKKnhPguAp RTPYSfFlEQlqLl2hEZCEntfkNKvTp5mr6tIBBS9Ml8TwAaxObeOzhbVLJo1IyktpfLoH n0aKdU9BBvDDCUdmNUOvT2S21PD44vPffNoa8+KVk8V8Dx6EHoXFAL8No3LJqcMOVxOm G6dmH3OqQYbqjakUopXc16A1U0gbegfwAU1bRKgYp1of1fabm6nNvE+oS1OhnilQYwxO OZny7jaxf6NnDz6uQgKPG226GwnIezdYvcaz6xJucAx52wuDkP5M2n8Y4J2iS44wxo/n qChw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=wiNZhgNtdVWskIOQqlZ//nz/pviSlraqX/NCbWN5P4k=; b=oZaN66A7qYrtZ/FqScDHLL/JPaUYMSTdh00nMC+7RT0DjNNvyGoRNR27URwhvy5U00 yBcYhT/ab78Qz2SNLZQqf02IiGocEK1BO83qjwgmDDEWbXtlMoW3xTdIUDAAPhtD8hhE YnYSxj/Li3xtM7Q0ACzozq/oqL1KBt/zP1jsL3l1JHnKXIzGH+aO+dsCl6MB9r6tOh8l Udupqq8DtPSdNrjAqPK4mLQmYhCyR3zjAqw94uQaT5z+hKpT6V0VMuzYYOelypzVI7s+ /KgraLnxxGjtN5ftQY2lhXKIj80IkMY4bfbmWFa5uQl/MsspsCuoqyqKyK7LfZ0O4roD eYgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ohu10kUF; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h15si4666493ejt.69.2021.05.07.02.53.52; Fri, 07 May 2021 02:54:15 -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=@linutronix.de header.s=2020 header.b=ohu10kUF; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234769AbhEGJGe (ORCPT + 99 others); Fri, 7 May 2021 05:06:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231422AbhEGJGe (ORCPT ); Fri, 7 May 2021 05:06:34 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 310E1C061574; Fri, 7 May 2021 02:05:35 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1620378331; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wiNZhgNtdVWskIOQqlZ//nz/pviSlraqX/NCbWN5P4k=; b=ohu10kUFW/33dp6ljK9m/sWPSCL43uSkjBXuiJ8D45AGp8AXmxuw+DfLdr0X25Td5vfSiO M0WQF1qIoSFgMy7+rqPtZtK/FbdHmqNJSD+ufzBb5gUQoRKmRmBJQQrgrq1tkN+KKBDiAj 6Y0ATUEQLmN76F0/twd9FyHT5zbtZorUuh1mdFyw77G2KHK9T1ePZwaTHotVgD2dxX4TZp iuKxZoqK0p3gDrqWpj6Vz2w0o3xNJK0F9w16qUD/o/3eyv3xuMxTtvvsX4FI4+wDHfHtdz CxeHy4cq4xUHpna/qP5jfnaLpkdJUALmvJs1p2XjTeyW8Z97qBUo4K37Q7xowQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1620378331; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wiNZhgNtdVWskIOQqlZ//nz/pviSlraqX/NCbWN5P4k=; b=/gqNc3dMAo7xS0wurbqxAzs5L8hTyLRoBpv3NoRh0Tw75X9HRAxXbPemGh9K7lmVuSzoM0 W1k7hED1pNwzf0Bw== To: Peter Zijlstra , mingo@kernel.org, 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 Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, peterz@infradead.org, riel@surriel.com, hannes@cmpxchg.org Subject: Re: [PATCH 0/6] sched,delayacct: Some cleanups In-Reply-To: <20210505105940.190490250@infradead.org> References: <20210505105940.190490250@infradead.org> Date: Fri, 07 May 2021 11:05:31 +0200 Message-ID: <87zgx6ncbo.ffs@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 05 2021 at 12:59, Peter Zijlstra wrote: > 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: Thomas Gleixner