Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1165826rwo; Wed, 2 Aug 2023 09:37:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlGq7Qb2mMuGynuma+4beJmSLjXnVdzjBBuYFN34PoWzr3B824LTOcfxXC45v5PVgTk4d2QS X-Received: by 2002:a05:6a21:3b45:b0:13b:a1eb:79e6 with SMTP id zy5-20020a056a213b4500b0013ba1eb79e6mr14872674pzb.53.1690994235506; Wed, 02 Aug 2023 09:37:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690994235; cv=none; d=google.com; s=arc-20160816; b=KP2NkO6OL9vlHY0V6jWz9xGovhQQaumFNov1uTPUZ1jD/HW/u2IxRwgZFWxgKv1tgK /nJDdprWKGEvrFfZ9x+xdG2oS6ql1GWCwJ8h/6lieDODuL2tt/m3uVyDI4i8R5JMxlKF EieHz60eC72HKJ6a5LNf1VZ19RdlpmKIBnAH/o2IPDvUiIi1Hfm5u65p9iVlA3cQcfAj iPO2a4LqCzwF8llXJJAbSVm/nZgfhgGjH1qAT54yLlz8wSGR+20Bgsyq9c8/xQ3GJaLu vQKyoJVlb04HYK7j7QJXBnb9VEwPDrHLpKThaf9/zkFPM971oBfnNVirHhUk0NwMit3Z e10Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=xKzzx9laG0zc9aEyQVV7mOZk+pe8KwSsh7VnlWOtmKA=; fh=PtsHEy/QXjJEbnnP/fLpGY+rkgyW8p9TQuaONi+Gpg0=; b=N6d5++Zza4JfBd+fGHTnIvKAMm1gJF15iau4ayvljoXPF4AFk2BbKqdLi6VSu++P4H wIHx8h5S4C5YeVKfmS5w43FEX3HxioeLQBs9Ju+4sUNHe54gDS1iRBQ9SS4MkPCfL/DI Q5FvNcvfe4J+uWs9ZlMzFpDBMGGVB17AZIAGiZRNhebVt/RkxcR7Xj02vbOUIYT2u1Y+ Ar6G0yzmCaLI9pheR24BR1KmD3XCvWiE8P5KYSUxLXMLU7xwUuxjAQHwbxm08Rj4Of4a SxYULg9dzUfIqnl0vYXx7d1tVhP0El7daY7aSgLfzFxTjkAfD7I13lGf1gln1w2TiuFD Mb3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=p8QmNGhC; dkim=neutral (no key) header.i=@suse.cz; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w67-20020a636246000000b0055be1ce1329si10880673pgb.415.2023.08.02.09.37.03; Wed, 02 Aug 2023 09:37:15 -0700 (PDT) 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=@suse.cz header.s=susede2_rsa header.b=p8QmNGhC; dkim=neutral (no key) header.i=@suse.cz; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235239AbjHBPYv (ORCPT + 99 others); Wed, 2 Aug 2023 11:24:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235300AbjHBPXF (ORCPT ); Wed, 2 Aug 2023 11:23:05 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FBEA421C for ; Wed, 2 Aug 2023 08:19:37 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id EF07E1F898; Wed, 2 Aug 2023 15:18:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1690989490; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=xKzzx9laG0zc9aEyQVV7mOZk+pe8KwSsh7VnlWOtmKA=; b=p8QmNGhCagiQYjFyB/Gq5mZ1txo2aIxNY66EGJ3Yq+Ru6KBZwQ5N8orZNAfzLys7kDsWEy Uut0CQS+fIORIYCpMmIDMdlL0tC1Iw0d8+MD0lFFRgG+VNRCueLcyGKANMJoM0FY8K49er SLMwuUh5TBQwtymxQnaHmsLTrk5Xn0A= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1690989490; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=xKzzx9laG0zc9aEyQVV7mOZk+pe8KwSsh7VnlWOtmKA=; b=/2pkviycf1gZDlvqyCiOuA0gv5v2DgFV6FLPGgKWYmAJYNkIFNg//M5ei9yxT+r/6rz+3O /+IHEGYhez8KGiBQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id CE5CD13919; Wed, 2 Aug 2023 15:18:10 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id jb2IMLJzymRdKAAAMHmgww (envelope-from ); Wed, 02 Aug 2023 15:18:10 +0000 From: Cyril Hrubis To: Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , linux-kernel@vger.kernel.org Cc: ltp@lists.linux.it, Cyril Hrubis Subject: [PATCH 0/2 RESEND] Two fixes for sysctl_sched_rr_timeslice Date: Wed, 2 Aug 2023 17:19:04 +0200 Message-ID: <20230802151906.25258-1-chrubis@suse.cz> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no 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 - Fixes rounding error for initial value with CONFIG_HZ_300 - Fixes read from the file after reset to default (by writing val <= 0) Cyril Hrubis (2): sched/rt: Fix sysctl_sched_rr_timeslice intial value sched/rt: sysctl_sched_rr_timeslice show default timeslice after reset kernel/sched/rt.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.41.0