Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8000956rwp; Wed, 19 Jul 2023 03:53:30 -0700 (PDT) X-Google-Smtp-Source: APBJJlHnpJfoA4BYTWc9FoxbhKpH0cZVVOWAWUgs3FUgb25sF8i7Ny/USKbdkGL05fiqeFj3YqMX X-Received: by 2002:a17:906:d3:b0:993:e752:1a70 with SMTP id 19-20020a17090600d300b00993e7521a70mr2203677eji.19.1689764010084; Wed, 19 Jul 2023 03:53:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689764010; cv=none; d=google.com; s=arc-20160816; b=Kq/ytzBVpnllskh1UTGzlLiODy4ftrglzrG/6S3b4xHXFaeLR6TO92oxmCPjkySVlO LlLAsZWeGzmt/eB3dZDB1EeD3c2KVWOvpJdXIUzfpRpM6wILru1QYHYzDUuxd1voh5wM prmy/O1kDRQnXN3xj5GoFv3hC0zlAQGzcftvZ71Eg/FqnjNrJx/yvop72/1YheBU+6TH SqH+yt5GWxwQWoZcwc/XgFKMwXgg/QMztOTzOZn5o6HB0PpEHdoGwHPoOR5xBRFGtcLa Ohzz75FdOyX32Tso5FENCueHw7jyFm/3HzNRwDgeot21VK8CS0kSMNbTJQQ0fU7XcEwU 12IA== 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=GEAHLTGh4mWkl5vlvo3Vm1y8vxppswl3JeePtAwIJigqv64Getk7bNqxs23Nm04i/6 Y+zwSM0mxUZmFaCNnRTX8iuJeb2bOiNtJFmuvBu04GENBNPqE/8+wRsnfp1og/F4hOXs abwsXb2huxyf0l7hstfBk2GWgYIkMVRbyPE+2WApe4uqETYaDd5Y2wDxShHR49vqcUTY zV2Joue71YhQU5GBlCPrl1uXcyE9s+rM/+wXX6vxdaYrA1+Dk7DWG98uJDDaDaos0Ayc pXHGDbuq036rxMv6p4SXpm5sQo7VeUjMuzORsNUfifu9R3bh6bN171oYXYp9gHzHZOYl NZDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=p+iTSG3d; dkim=neutral (no key) header.i=@suse.cz header.b="ZLn/RpCV"; 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 a24-20020a1709064a5800b009823816586esi2571281ejv.500.2023.07.19.03.53.04; Wed, 19 Jul 2023 03:53:30 -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=p+iTSG3d; dkim=neutral (no key) header.i=@suse.cz header.b="ZLn/RpCV"; 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 S230221AbjGSKgt (ORCPT + 99 others); Wed, 19 Jul 2023 06:36:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229561AbjGSKgs (ORCPT ); Wed, 19 Jul 2023 06:36:48 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B13B11D for ; Wed, 19 Jul 2023 03:36:47 -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-out1.suse.de (Postfix) with ESMTPS id 1A3E821AE0; Wed, 19 Jul 2023 10:36:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1689763006; 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=p+iTSG3dntqxUTvDhfNKgy74M4bthsIeJ4IFVvxfaJ+4mGA4ZxgVj3BiSEZiIKt03epJe4 zmzKSbR2GBbKouDzqDkUj1AQtOOo5gplv+l5lpX0eTQuFC0bZvJ2tIq6fXtOIVJKbn14tx 1SlZMALDV/HrOZuErA836z2/K5+0tsE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1689763006; 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=ZLn/RpCVVASMvYwMeDWg69gvYbOfGnQgtEyeVf8lFOSx+uidrofXQGzyyvv2KE56WY9Wu+ kLe+QEnuSwUFT6Aw== 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 EE7D41361C; Wed, 19 Jul 2023 10:36:45 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id leFXOb28t2RLRQAAMHmgww (envelope-from ); Wed, 19 Jul 2023 10:36:45 +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] Two fixes for sysctl_sched_rr_timeslice Date: Wed, 19 Jul 2023 12:37:41 +0200 Message-ID: <20230719103743.4775-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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,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 - 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