Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4340353pxj; Wed, 12 May 2021 03:32:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3vdHC/+eSmadU/0Bo7dmrkYrMVb0V/nQAfYtqYNzKdppyVhOv12E3cmm0fuvC/Ch7mt88 X-Received: by 2002:a02:3506:: with SMTP id k6mr13693034jaa.39.1620815542151; Wed, 12 May 2021 03:32:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620815542; cv=none; d=google.com; s=arc-20160816; b=eyYsmmCEHElDbw/aJIplAWbUCcxnSBnL4hl4fNpi9GL6VikgaoOAN+yFfiE0aOwYte vTJDSRoW8THLxtOyUdjbMx0rKH/2AaGbGaWP3E5kxq9ys9ZQHY6e/7oN449kqEDXF35+ KEazyfPUZ/ib6oiMRRuBntK5chTM99K6GLVoR11wGJxgQNcDdB0kblt67PgYPTGmaLte 7XlRepHk9X62kyFmaMdj6gKU6nRPcpOKUxvac0bSg8npFGmo/NTrzINzDc6YN6MZubez SHBHf48NnRlkDfnSdRbeK2vV4zCuQSjlCMra6n41q1XKbo63eLywXMK6/kbG013GnU82 7ofQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=9UHXKCObtPjBsaIewS+lWuVHbm3jNlFOs2DYp5P4drc=; b=SMm5Pb9Yg/nXwxFHl28wTLbzVMfm18tixSGCD4QWmUh2gMN3qjnGJOZajd30WnwXUK XbC3Gi60QBhmP7edkmC9DPtCx9+tIt92vSR9fXnLVqOiLP/G2ntKVx/cJI2JApTlNSb8 8YzovsLAtPolTbaKJeQLplm6wNYUSZN+8msKmgxKn7DWv68wrp/xJzLbaVCLuZcmoXdZ PuLV49BVH5nZkQ0sHTWavDxHHElv04S8ysDxNSLIneNmIIsHORGxx1xMRfDUyrcAZ+8l Xl7N1XsbAQugowRC6Q5klAM5sh/lFINouh0yrB8yqqgwyk1AAF/Kn7yjXTwOfeAJNIqQ Go3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=tmYP7UM1; dkim=neutral (no key) header.i=@linutronix.de header.b=AGVWuNpj; 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 j28si21346651jaq.115.2021.05.12.03.32.06; Wed, 12 May 2021 03:32:22 -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=tmYP7UM1; dkim=neutral (no key) header.i=@linutronix.de header.b=AGVWuNpj; 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 S231394AbhELKa4 (ORCPT + 99 others); Wed, 12 May 2021 06:30:56 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:50560 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230423AbhELK3j (ORCPT ); Wed, 12 May 2021 06:29:39 -0400 Date: Wed, 12 May 2021 10:28:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1620815310; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9UHXKCObtPjBsaIewS+lWuVHbm3jNlFOs2DYp5P4drc=; b=tmYP7UM1z8YpjPZC/C9Ivdg+NGqfZahb1+9ZpYi9zNLkF+LHT6P81pVH4vaDajrYnxr+E+ qz6Ui1aFH93+IjIfcQnW/YFcwmMlDgKmTX1dK9TaR6fe6QFO9t6b8Sa1NDWaK8r3aiugLx OLx8NiYzSZ951ABfMDEA3RI5iFFqzykmhzoPnw2zuyJ4rOkI4RzPZHwU9aQRpeTmDMNb/v j79jtf6+VNJI6izfJLfs7YdDi0+bBch4cIs9TApQUHR4Pgw5Umt8bE7kM9YH8aq7JVbL4F KNo0s6GS2U0HJ/ztgIal3a87Bic2WqU49ZFUOHSk9CEZgoqSISK8gAeGt54gdQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1620815310; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9UHXKCObtPjBsaIewS+lWuVHbm3jNlFOs2DYp5P4drc=; b=AGVWuNpjisBC3b/1wuIeqkMZZuT2r50MwZcc4xT196C/1e2Bhg+uZn/aFGs725BSygwcZ2 1v6X7FSpZpDfIzDw== From: "tip-bot2 for Peter Zijlstra" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] kvm: Select SCHED_INFO instead of TASK_DELAY_ACCT Cc: "Peter Zijlstra (Intel)" , Thomas Gleixner , Ingo Molnar , Paolo Bonzini , Marc Zyngier , Balbir Singh , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20210505111525.187225172@infradead.org> References: <20210505111525.187225172@infradead.org> MIME-Version: 1.0 Message-ID: <162081530990.29796.11497571349080467949.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the sched/core branch of tip: Commit-ID: 63b3f96e1a989846a5a521d4fbef4bc86406929d Gitweb: https://git.kernel.org/tip/63b3f96e1a989846a5a521d4fbef4bc86406929d Author: Peter Zijlstra AuthorDate: Tue, 04 May 2021 22:43:39 +02:00 Committer: Peter Zijlstra CommitterDate: Wed, 12 May 2021 11:43:24 +02:00 kvm: Select SCHED_INFO instead of TASK_DELAY_ACCT AFAICT KVM only relies on SCHED_INFO. Nothing uses the p->delays data that belongs to TASK_DELAY_ACCT. Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Thomas Gleixner Reviewed-by: Ingo Molnar Acked-by: Paolo Bonzini Acked-by: Marc Zyngier Acked-by: Balbir Singh Link: https://lkml.kernel.org/r/20210505111525.187225172@infradead.org --- arch/arm64/kvm/Kconfig | 5 +---- arch/x86/kvm/Kconfig | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/arch/arm64/kvm/Kconfig b/arch/arm64/kvm/Kconfig index 3964acf..a4eba09 100644 --- a/arch/arm64/kvm/Kconfig +++ b/arch/arm64/kvm/Kconfig @@ -20,8 +20,6 @@ if VIRTUALIZATION menuconfig KVM bool "Kernel-based Virtual Machine (KVM) support" depends on OF - # for TASKSTATS/TASK_DELAY_ACCT: - depends on NET && MULTIUSER select MMU_NOTIFIER select PREEMPT_NOTIFIERS select HAVE_KVM_CPU_RELAX_INTERCEPT @@ -38,8 +36,7 @@ menuconfig KVM select IRQ_BYPASS_MANAGER select HAVE_KVM_IRQ_BYPASS select HAVE_KVM_VCPU_RUN_PID_CHANGE - select TASKSTATS - select TASK_DELAY_ACCT + select SCHED_INFO help Support hosting virtualized guest machines. diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index f6b93a3..fb8efb3 100644 --- a/arch/x86/kvm/Kconfig +++ b/arch/x86/kvm/Kconfig @@ -22,8 +22,6 @@ config KVM tristate "Kernel-based Virtual Machine (KVM) support" depends on HAVE_KVM depends on HIGH_RES_TIMERS - # for TASKSTATS/TASK_DELAY_ACCT: - depends on NET && MULTIUSER depends on X86_LOCAL_APIC select PREEMPT_NOTIFIERS select MMU_NOTIFIER @@ -36,8 +34,7 @@ config KVM select KVM_ASYNC_PF select USER_RETURN_NOTIFIER select KVM_MMIO - select TASKSTATS - select TASK_DELAY_ACCT + select SCHED_INFO select PERF_EVENTS select HAVE_KVM_MSI select HAVE_KVM_CPU_RELAX_INTERCEPT