From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795187224; b=xsmapNBqc0qL8HARRsnM+tuFtIrHwYyjOV9YdMfUlP9VPWOShGVZQBK60trRwv3CaVmc 9h0BpJmp6AKKuo8+BK+P3lza1H+rUoqU+4pIFXRRcFo1kYmIvu6NnTxRGd6Yo50S2zW8d ME8zMAJLyVemFk9SkkXp1BmdIqcM5MbtxNyjmVPwEIAeTGJveH/2XeGRXEU8chtFnevme uf4UWRGdKZBjj7HQEFEVX1j5dwltm2qtHjCd0knZHjuLR4SzvuOhp+nhlRz7I1HLIaPUX uJZpjfRiNP7GuWn59PNVsrwU+kHutEbG43P3+450rV0ILZ5oT3DS8S7IC3wi8IrKWUg== 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=WtiDoGdM7rVTgIVrlZKYq4Od+ht1rJF+rZzU0qpykn+VDOmvxVeJfgVZyJUGJzYg8FQ9 8XHhW4r9Qb2FZ8hYGCRcfa5OAJWJlW3uqruj6lF7NwLCw/5CB9nz/tjAcj3sbp2tJ9EwF AmPL35LzQhcNQiz+SNuYYgeqmMmodlpk7Kly/fheQnvzpa3YOTMo1W0QYs8ge3A1kXL2R qoZXtKTURrBUs/inGd6+KVo5S/sWGSefd4Cb0SbmK/WzevMQ1Gxisms2CEbilFrFeJv2T OXT5wIYi0mPnRwFQ45X4/LEtAx2vRBKgh+1hsAZSDpDzYN3V3lHd5MXZm+4/vCVRT4g== 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.133.124 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 EB5D3606A32A for ; Fri, 20 Nov 2026 15:07:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org EB5D3606A32A 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-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-630-lPdFX3VTMq2NldCg7bTbVw-1; Fri, 20 Nov 2026 15:07:00 +0000 X-MC-Unique: lPdFX3VTMq2NldCg7bTbVw-1 X-Mimecast-MFC-AGG-ID: lPdFX3VTMq2NldCg7bTbVw_1795187219 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-4a70b42bab0so9011185e9.1 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=yuzJb1/9XTlIFlcJX6EdJ1fyNTo+qJjlFAJCj3CJmg9YYkK3sd92y3Bnd/LXRfAP3I p93QyEWCAdSArffBV4bw+69mkmjgswUsLbODrD1BB6QEghSMNgCUwfc2Oc/Rlf7Bn0aK bRKE3zPrZ94OEuJv31ei/Ok9AHbdSJ+sO9Jbw+1FdERmuO1z/b+JftGTUgcEz1nFGxO7 2gqCTXvcgV9pIyrgJjaamSbLquU0HByXB1oZHkWEdebMBo0Xbao1fHtCJkW9qWWy05YY QkwfC0rlIDYr6MiIySBYJmooqCdg04q6SjVXKnhFfL34LXoyAC3yb2T2XIRag2udYsDO 3cSw== X-Forwarded-Encrypted: i=1; AL+hErGsQNA07eEtEiiwdZSZQOfGicXcpUv7bwBc8Rgi7eCMv9dJ3moBQSUB5J6IzTo0beTsWII+quRSdi8=@vger.kernel.org X-Gm-Message-State: APuU4Z86Iqr5zm2oguBC9EyhcZUyWQBKQLSYHFcxwlLONr/nOomSYnS5 vd8XzLzU3e2+/7oWqq0B8+N0cL9Iqiwj84pT9J/qSlGC9QSI2kVCuRNcPQWfDf4p2cgge/zdLH6 i9+1oCnX3sEGYzudUe4HN9RvP2n2nfufmAYosSuNh1t58T+Hy4zYNamv7eahP9Q== X-Gm-Gg: AYBFou1zS7/40GB72u4IvWR4jTbrudnYbAJgz4rXqszJJYEpIsM3iwEJEXEuFWHUrFd gwJAlFSbTEFifkcD7qGomhU5zuwbMtZ13vVOoW0AowQc+uTvcvQLck1h0e8QkjRBLKc2clo2DQH 5NSwtgAtVmhipFDtZf9UXpmIu7lhd3JMzK8i4F7N1WDch7w/UmO+tH0KAJstl9wI4aui9ySBKz6 BwY+58qvcIctus1QMNvGD4gdUa2jCazrqHFduvBxOgjio19HPLFX0DL7JdwbKyYCtAfFjfswW6k i6Ckr8iWs48Z914anRglasbhg5/mnTrlbO2z7tsG8eoOIqoHW5I1GNHCt8V3rtXb3SokPVcHi86 exFFr5m+hMGXydrj6C896Jk1KKn8f6rmcVfZzeldptoTFLXZAYkmQoKPOc3rqRz6OLUqvBoILCn lRWe4= X-Received: by 2002:a05:600c:4585:b0:4a1:c6f5:2450 with SMTP id 5b1f17b1804b1-4bb8881b8e4mr73498275e9.17.1795187219439; 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-doc@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