From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795187224; b=Obg61SMjmLByOv3eL5vkuyKwIhqkNSou3n3OxA6UHWEiTiw27yY7akpQ8P39ioGWH07D g7p9FZrfMQ5jWplCmRuvC37ZAqOLhzI1K5wgK4Kjnx1XHz/WEMu6cYH5zT0Ty3IqRh5gf rXIF8ajQMkTcssTUhYHei3n3fg4PLPo0oKsqPbNg2USzrFtbVxD6tbLih7nu9Q5yLSFxK gXfYgB1Tm0FgIkjgcX0iOLHfUGSDoLekGEoXd5PKN23ddMNZpZjSrh75DctmNhNyBFnBv T9q1wFMB+TXOXpMIkSy/bv+kAGn6zwqryxXZjG9b8zpBbNfrZ1Bne58X9CToGT6NpGg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795187224; h=DMARC-Filter:DKIM-Signature:Received:X-MC-Unique: X-Mimecast-MFC-AGG-ID:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received: X-Received:Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=O0TPK5M5hrUDnQg4DmTQaVPUwM9tdKMHp47PNrEqGW0=; b=fXn0nGpbKfQFmyt4q0GZVwrPiBsJzn1304IojSAlNIDLLdlZV5UgKk2qgaXYDcAYDidp O1F5LVjAekR2hhmj/Vi06wbdY4Rh7VUvuIJ4r1SkixmDZsVAys5tfFgFT1demjyrclAKP K5iraWxOIHPipq+Z+1KXuJpva88OPh0w5wdaP43qYLHGsLYLCbl8sd0LvUnVNh3XQN3kZ etIP0+50sv47A76MiBa4z5YFp+TB6TmxYFmJYAKiM6AAKE1M539MucMiaW4mibSrRCEoY TVK+YyLuvavHwrgLAu+UrEcns4kEZf6k22QKG80etLXINdV71sdZ+ZcwXipBXGqtGUA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b="XdrLx/Fm"; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=google header.b=atf+HUNm; arc=none smtp.remote-ip=170.10.129.124 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA6CB606A33E for ; Fri, 20 Nov 2026 15:07:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org EA6CB606A33E Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=XdrLx/Fm; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=google header.b=atf+HUNm DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1795187222; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=O0TPK5M5hrUDnQg4DmTQaVPUwM9tdKMHp47PNrEqGW0=; b=XdrLx/FmbHYG2Blycneuwo7L9BekQbbh4y4ZRFX4OrcKe+XagU7Exm05UbnhaDl++rQ0l/ TXn8pFkksRMm1/aAHUUkbD/+rmHdZD+guzjNODJYNMgnZovGTcUurbwMqwNirF9xec4R06 qq1mVSJOq0tLzHBJ5k6IJw35ND7q1NA= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-549-Rlz2A8E_Pm6oOId1jNpFGQ-1; Fri, 20 Nov 2026 15:07:00 +0000 X-MC-Unique: Rlz2A8E_Pm6oOId1jNpFGQ-1 X-Mimecast-MFC-AGG-ID: Rlz2A8E_Pm6oOId1jNpFGQ_1795187220 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-4bb8da397aaso3375435e9.0 for ; Fri, 20 Nov 2026 07:07:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1795187219; x=1795792019; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to:content-type; bh=O0TPK5M5hrUDnQg4DmTQaVPUwM9tdKMHp47PNrEqGW0=; b=atf+HUNmIBtmeaxP3vFbVrI+iI6bplrGsWSan3oKdQlkKy8nQDteKVtqhoIvR3ythv GC2ncmOWH1UTgRqbpoLNnevwHkuwhWc24xcTkm6OylKD9fZffeGFyQL0QVV6fZcylUrh RMvcH/2r23T2FAJNE4MlUsxDvRmsd2pkO9yMD7OEpJpJu0fhCMCTNOrKxHTo7j4ymghA YotOoY3WuVXq81fH9b9lJXDTqkli1YuM1ZCxNjZMyZziQjLow6cedw+l6Fi3/3G/Ay4t jtCD1cdBzsPzp1t2IE18g9h8yUBzShi1YJgw0xIb8mBJ0kMQsgZamfMVJz7VpzmafFHe DvGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795187219; x=1795792019; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=O0TPK5M5hrUDnQg4DmTQaVPUwM9tdKMHp47PNrEqGW0=; b=XYqBMWGTM655HlsMQ7S3z/Sifb6+nUKIuhRouYuBW7O9JZTog/fv1uSkWyrJjk800m IWxcF+faPzXAMs/74KA+BOGEYYDvckUANrASy01cNpa+3OYlfmdzjmN5nKacAFZd53gE COkTVF7/928cCW8FWcn/njBx84uEBPWrGC1aQmDWqtXfSt5Guxum8PwGKj1SYSGyR39Z L3k2RWYhJdr1wtueG+xlKooM7Lk47pBSwXiYhuhmTs+0aya8K0B6cxQ5857WLMLRbcVq D3024SIO/mKvGZUGuBg9odRiDb+GywoFSAVPDBWL3wt10+ukekpxszuRSV0DWSugJ1MX 97MQ== X-Forwarded-Encrypted: i=1; AL+hErE1mJsE3+1JjGauuU+LJIsZJvELgIYvbYSTvY16lKmYPNG9JHy7nwkFj9Y0JDXQMZ9OcnCUXYVspCiMOQM=@vger.kernel.org X-Gm-Message-State: APuU4Z/Wu6u6eeKuRbXB3PHR6LdMjlQrUIE7QyzlZ6dNrFO+PiZllxIw MMtvYC0VJOEuXrSy/Ij9Jhc9AAUw0jV5kCKRJUTuyoQ3A5W0tbgOS1nPDuxYFwGG9/0lopSWGqI N9/i+EvdaWZ9Rj5eSmaGzahzQvVD6nmjPdAMkjPEjNV3qw2IYks7CyftbXMTXCVq/Dw== X-Gm-Gg: AYBFou0H1OoQuigldRO01R2tFkCky4Qh+B4+Wi671t4TpfkRCj5xHGk1sb9Gn6vz4uU JAT0RRS0HFh7qe7B597nGG7RZjMiRCESpczBOJBue6w0LyDQd40x8TWSAnAhT7KlfW5xaK2+nd1 kUgWEVp+1rBReYKQqijw7Ky/n6q5Dg9IXPTiHiMPfcIcw49dsAUSu7XbOeuOcstnprZc0E9qQn0 feCpYkRI3twZLjJ5F2eVh7iy2i9X0NxGiqG/NZ2+m9cIvncGGhG9ne1qOpT+Pl2UAg0uHqFZQNI GPbV8NN8xTXB7TMQG1btZrUEJTaKVQY9nuMmEoxE6ritk8WEtM6ygovUO1VvQZeDWZWawEE+EU1 oQLl1C9SAClSPTLO8x1Uk5wsYNOBJO2+YCMYH5oDXUXED1ZHq6ueSJ/oK35Z6tFKqzzlz+yOP2T PYSRY= X-Received: by 2002:a05:600c:4585:b0:4a1:c6f5:2450 with SMTP id 5b1f17b1804b1-4bb8881b8e4mr73498305e9.17.1795187219443; Fri, 20 Nov 2026 07:06:59 -0800 (PST) X-Received: by 2002:a05:600c:4585:b0:4a1:c6f5:2450 with SMTP id 5b1f17b1804b1-4bb8881b8e4mr73497495e9.17.1795187219045; Fri, 20 Nov 2026 07:06:59 -0800 (PST) Received: from jlelli-thinkpadt14gen4.remote.csb ([151.29.158.90]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb8849247asm92714315e9.7.2026.11.20.07.06.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Nov 2026 07:06:58 -0800 (PST) Date: Fri, 20 Nov 2026 16:06:55 +0100 From: Juri Lelli To: Sebastian Andrzej Siewior Cc: kernel test robot , oe-lkp@lists.linux.dev, lkp@intel.com, linux-kernel@vger.kernel.org, aubrey.li@linux.intel.com, yu.c.chen@intel.com, ltp@lists.linux.it, cgroups@vger.kernel.org, rcu@vger.kernel.org, linux-doc@vger.kernel.org, Jonathan Corbet , Shuah Khan , Randy Dunlap , Ingo Molnar , Peter Zijlstra , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Valentin Schneider , K Prateek Nayak , luca abeni , Yuri Andriaccio , Yuri Andriaccio , "Paul E. McKenney" , Frederic Weisbecker , Neeraj Upadhyay , Joel Fernandes , Josh Triplett , Boqun Feng , Uladzislau Rezki , Mathieu Desnoyers , Lai Jiangshan , Zqiang , Davidlohr Bueso , Tejun Heo , Johannes Weiner , Michal =?iso-8859-1?Q?Koutn=FD?= , Qais Yousef , John Ogness Subject: Re: [PATCH v3 6/8] sched: Limit sysctl sched_rt_{period|runtime}_us to RT_GROUP_SCHED Message-ID: References: <20261113-sched_dl-v3-6-a76ffa1cdeee@linutronix.de> <202611192004.cca8bf73-lkp@intel.com> <20261119142348.MkPQ2Fby@linutronix.de> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20261119142348.MkPQ2Fby@linutronix.de> Hello, On 19/11/26 15:23, Sebastian Andrzej Siewior wrote: > On 2026-11-19 22:11:10 [+0800], kernel test robot wrote: > > [1;31mBroken: [0m > > • proc_sched_rt01 > > > > [1;31mFailures: [0m > > • proc_sched_rt01 > > > > Session stopped > > LTP test details > > ---------------- > > starvation: starvation.c:115: TCONF: Skip test due to slow kernel configuration > > proc_sched_rt01: proc_sched_rt01.c:45: TFAIL: echo 0 > /proc/sys/kernel/sched_rt_period_us expected EINVAL: EBADF (9) > > proc_sched_rt01: proc_sched_rt01.c:47: TFAIL: echo -1 > /proc/sys/kernel/sched_rt_period_us expected EINVAL: EBADF (9) > > proc_sched_rt01: proc_sched_rt01.c:53: TFAIL: echo -2 > /proc/sys/kernel/sched_rt_runtime_us expected EINVAL: EBADF (9) > > proc_sched_rt01: proc_sched_rt01.c:62: TBROK: Failed to open FILE '/proc/sys/kernel/sched_rt_period_us' for reading: ENOENT (2) > > The test writes to those fies and now complains because the files don't > exist. My intention was to remove those files because writing to them > serves no purpose and people don't know this and _assume_ they disable > RT throttling. I agree on the RT throttling part. Before this series, writing to them does serve a purpose, though. 5/8 moves that functionality to sysfs, which leaves the files without a purpose, and 6/8 then removes them. So existing users don't lose a useless knob; they lose the working one, which has moved somewhere else. LTP is not the only one that will notice, I'm afraid. This is what I meant with "yes and no" in the RFC thread: we need an interface for admission control, and I wasn't sure how much breakage moving it would cause. Now we have a first data point. :) You suggested yourself back then to keep the files and make them apply to DL only. I think that's something like: - keep sched_rt_{period,runtime}_us for !RT_GROUP_SCHED, backed by the same code as the new dl_{period,runtime}_us (sched_dl_try_boundary()), keeping the current validation semantics (the LTP test checks the EINVAL cases, and 0 is a valid runtime today) - pr_warn_once() on write saying they only control DEADLINE admission control and that RT throttling is handled by the fair_server, pointing to where its knobs are - fix the documentation as you are doing already That way nobody gets surprised anymore, which was your point, and we don't break anyone? We can still discuss deprecating the procfs names later, once the new interface has been around for a while maybe? Thanks, Juri