From patchwork Sun Jan 22 12:18:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Borislav Petkov X-Patchwork-Id: 46936 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1127999wrn; Sun, 22 Jan 2023 04:22:03 -0800 (PST) X-Google-Smtp-Source: AMrXdXsDtDxQicfN/LPja1hik48B4ZMBh1jP7hQvFeIIO38suwtFoqmCDUNSQEtgUEQoWthPqSBd X-Received: by 2002:a17:906:eb06:b0:871:8a18:d0a7 with SMTP id mb6-20020a170906eb0600b008718a18d0a7mr20456518ejb.68.1674390123545; Sun, 22 Jan 2023 04:22:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674390123; cv=none; d=google.com; s=arc-20160816; b=dBXS2CCBvPHy+s214h8rqrJAydh/A55r5ClqaNkLdPZsQQDnnpKhGJ/OgSRdEoxk0H DuSPZgolWbv6ts3cxGlnr8PaH17Ly1TYar/2g9I92rAoJ/QGoo6wFBDlSsh8PgDzqkga vobpuCcs4CelflxdUethcNE/V+sOR0kzEPBMv9FvWEaq1oyCDWX3AhtWmF0+f6EbGrLz vWtn5FTOqynIHyL1J6y94eWyCTkByWAHvztfSVdf0eqgWGqsY+t0bm99quh9Vcz5VZz0 C1K4Hovc4xrBGnOs0wEsD59ON6j3WOp37dFI+PGhViA2GWhopL7lBBtW0M4OYR6QPXW2 A/bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=SisZyrBsAJgGSKFyBP3S3ZuMDxTB7/hRZD876qqBLFs=; b=mRAE5GXmxln6tN2VfGzVKFFP2Tr88LD/rBKjG035iF2y6s8LUvrnRai6LltVvI4anb A8Z6lHKfXu5yCJtcTvPA68hwGAgg0WS88upYouy1poXfRJPzO1cW99B3FXfey3nQV/uP Uik7UHmfuZnnaSUiRtRoad9YXakxJHUwIvgCfrQJJ/WH1ySCJ+UZikGhq/sgAYlrCJcY yXE4bSRZ0LXKh60H4hiOUsjGwPG1GddA2olfcqUDqveuIVVTN5vJ9ElyFV8nVsjF0zJu tT5m6dYR6QC6KDmVbckI9TJpaC5yOW5whBIazp2oHd/O/wBfIHkhkIR+d2KiW2xhzuUg LOBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=g+G6GvB5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hw9-20020a170907a0c900b008778234a4a5si11525789ejc.255.2023.01.22.04.21.40; Sun, 22 Jan 2023 04:22:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=g+G6GvB5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229780AbjAVMTE (ORCPT + 99 others); Sun, 22 Jan 2023 07:19:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230072AbjAVMTD (ORCPT ); Sun, 22 Jan 2023 07:19:03 -0500 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E910DD4 for ; Sun, 22 Jan 2023 04:18:57 -0800 (PST) Received: from zn.tnic (p5de8e9fe.dip0.t-ipconnect.de [93.232.233.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 0A07B1EC0441; Sun, 22 Jan 2023 13:18:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1674389936; 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: content-transfer-encoding:in-reply-to:references; bh=SisZyrBsAJgGSKFyBP3S3ZuMDxTB7/hRZD876qqBLFs=; b=g+G6GvB5YK1XmqMvogHPs2/+UAOaCuKVWnKMHUuVy6tcRa2ja1cyR4gb7kDmNogcB/71WT tuYkLQvBvSYIInnjVdhv99/VYXIqO04N9EPuqS1vLXD68VXEE4l/tD0cfh+hA1s6saZ+9f cbubwoSCRvdBO2ysQfFpRofiy5YK1qQ= Date: Sun, 22 Jan 2023 13:18:50 +0100 From: Borislav Petkov To: Linus Torvalds Cc: x86-ml , lkml Subject: [GIT PULL] sched/urgent for v6.2-rc6 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755725298062675416?= X-GMAIL-MSGID: =?utf-8?q?1755725298062675416?= Hi Linus, please pull a couple of urgent scheduler fixes for 6.2. Thx. --- The following changes since commit 9a5418bc48babb313d2a62df29ebe21ce8c06c59: sched/core: Use kfree_rcu() in do_set_cpus_allowed() (2023-01-09 11:43:23 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/sched_urgent_for_v6.2_rc6 for you to fetch changes up to 5f5cc9ed992cbab6361f198966f0edba5fc52688: x86/aperfmperf: Erase stale arch_freq_scale values when disabling frequency invariance readings (2023-01-16 10:19:15 +0100) ---------------------------------------------------------------- - Make sure the scheduler doesn't use stale frequency scaling values when latter get disabled due to a value error - Fix a NULL pointer access on UP configs - Use the proper locking when updating CPU capacity ---------------------------------------------------------------- Qais Yousef (2): sched/uclamp: Fix a uninitialized variable warnings sched/fair: Fixes for capacity inversion detection Waiman Long (1): sched/core: Fix NULL pointer access fault in sched_setaffinity() with non-SMP configs Yair Podemsky (1): x86/aperfmperf: Erase stale arch_freq_scale values when disabling frequency invariance readings arch/x86/kernel/cpu/aperfmperf.c | 9 ++++++++ kernel/sched/core.c | 10 +++++++-- kernel/sched/fair.c | 48 ++++++++++++++++++++++------------------ 3 files changed, 44 insertions(+), 23 deletions(-)