From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AB8D3EB64DA for ; Tue, 18 Jul 2023 11:40:48 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id CF8173CB69F for ; Tue, 18 Jul 2023 13:40:44 +0200 (CEST) Received: from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it [IPv6:2001:4b78:1:20::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id B3FC63C999C for ; Tue, 18 Jul 2023 13:40:33 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-2.smtp.seeweb.it (Postfix) with ESMTPS id A1A9B60035C for ; Tue, 18 Jul 2023 13:40:31 +0200 (CEST) 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 4455821883 for ; Tue, 18 Jul 2023 11:40:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1689680430; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=6p87yTzPGdLCNHPMXCVPDhXSq3g/6uv3bFzqxHlghw4=; b=dBDMDFXo/u7expRnrw9+35QrGhh+cqI7GZSTg6av2ieDaK95iZkt/fZcke26UE7xX24Utq 6JYsbBunWj4z3OanqgukpoS700SspuxXKPEJCoZDbhxnywrnO6XKZyWc2rnbW/VxSdbbpx JZzltsuj1zkL32d9ujYCWZEflp+jDnk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1689680430; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=6p87yTzPGdLCNHPMXCVPDhXSq3g/6uv3bFzqxHlghw4=; b=lTD+eyXkeVMUz7SjVlOqJKp6DGprGNnWefCZvEH/11TR+yZgKUlCUYssl2gwgp/24QQ7nr HQ6QXtpldzUO9hAQ== 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 22CD3134B0 for ; Tue, 18 Jul 2023 11:40:30 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id ZJrfBi56tmS3KwAAMHmgww (envelope-from ) for ; Tue, 18 Jul 2023 11:40:30 +0000 Date: Tue, 18 Jul 2023 13:40:27 +0200 From: Petr Vorel To: ltp@lists.linux.it Message-ID: <20230718114027.GA1172148@pevik> MIME-Version: 1.0 Content-Disposition: inline X-Virus-Scanned: clamav-milter 1.0.1 at in-2.smtp.seeweb.it X-Virus-Status: Clean Subject: [LTP] sched_rr_get_interval01 depends on particular CONFIG_HZ value X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Petr Vorel Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" Hi, sched_rr_get_interval01.c depends on particular CONFIG_HZ value. Recent change in openSUSE kernel from the default 250 to 300 breaks it: sched_rr_get_interval01.c:57: TPASS: sched_rr_get_interval() passed sched_rr_get_interval01.c:64: TPASS: Time quantum 0s 99999990ns sched_rr_get_interval01.c:72: TFAIL: /proc/sys/kernel/sched_rr_timeslice_ms != 100 got 90 sched_rr_get_interval01.c:57: TPASS: sched_rr_get_interval() passed sched_rr_get_interval01.c:64: TPASS: Time quantum 0s 99999990ns sched_rr_get_interval01.c:72: TFAIL: /proc/sys/kernel/sched_rr_timeslice_ms != 100 got 90 According to kernel/Kconfig.hz CONFIG_HZ can have various values (100, 250, 300, 1000). Should we adapt the test to expect any of these? Or should we require kernel config to read CONFIG_HZ value and check for correct value? Kind regards, Petr -- Mailing list info: https://lists.linux.it/listinfo/ltp