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=1795505460; b=ihSZxPp74oU223T9jEuZGNhbOPKCZ+9rDwBFtFii/R3hNUp7LE+59gXXatYlJwtgAUO6 oM7U0ogcvzuZC4oj2irFuvnIYgdeADCtfDyG1xGZS3a/m9ybE+z1vRRdiUBUpRxBlJ+qL l3qKbhZdauXEP/yMmo2T+8sBAEqzE+gJ/7wylBy/3RQFWRnZJJ+9siiDKluGlLnb8/aT6 WdYN1FbPRDq12BXrVK8fEKo9SXSXIIZIoq01wAF7poWxND5dSdQsODdYeMezmByWRvQb0 kTvL+kFILCxLID+q243FFM1f3tmeZpTQf+edJqHlFltSIgf2NCw1l5Ugte+6ClY1Uyw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795505460; h=DMARC-Filter:DKIM-Signature:Received:X-MC-Unique: X-Mimecast-MFC-AGG-ID:Received:DKIM-Signature:X-Google-DKIM-Signature: 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:In-Reply-To; bh=ICKsbXWih1ldCpzpgsQ/uVr8XB4yjrWqfudWCRA9yjQ=; b=01I5ltQBp3eycq2HZGvTfOpnluShdiRnY3y/vXPMJ9SJ4LMPAtTGNM+hkXPVyOeR8POx W2xrbuxUni1ItgQ3uk5VHDIQwRXIMf1KRpcKigm/Cu35P8pY2uIyJuABy3h8TZhcgzseu D0tv+SqMXwMORlOaFXanFhRJWqmDUtdkBpJLFqik4nsfYC2HcK4pPbEK6s1gB8pePfmOA 4mgrAn5Vv1XxQioX9RqUC+jyTyRY/mdeesqsmuM+OaUr8P5mTZHJXQCj6VP5tMFh+efiB fUgaQvZRAadh70nQXkr04NwjTVPydfuCl8rUodMbnasayr7jukWMcJKLh++11WLA7eQ== 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=iSgSVTaN; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=google header.b=fl4STBlE; 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 9088C606A321 for ; Tue, 24 Nov 2026 07:30:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9088C606A321 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=iSgSVTaN; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=google header.b=fl4STBlE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1795505458; 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: in-reply-to:in-reply-to:references:references; bh=ICKsbXWih1ldCpzpgsQ/uVr8XB4yjrWqfudWCRA9yjQ=; b=iSgSVTaNzPE05kdPCdtLfy9inr8+a/4utPK/lJ/ziFcNQ6Fj7AmTphzlPClfrEsAt/xp8G FhkX2SqaUooDYsUk0A7Q/u8LVgGCbZojSEyYAZJWW+zsNTIcbgWKJeZW9p1ikGXG9u7udJ R/a8ZSYy9A5rqYWgaiOUdX6jLkSfVFk= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-580-hpylM8b7MCGZtfJMyTgm_A-1; Tue, 24 Nov 2026 07:30:56 +0000 X-MC-Unique: hpylM8b7MCGZtfJMyTgm_A-1 X-Mimecast-MFC-AGG-ID: hpylM8b7MCGZtfJMyTgm_A_1795505455 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-48e1d839ddaso2241676f8f.3 for ; Mon, 23 Nov 2026 23:30:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1795505455; x=1796110255; darn=vger.kernel.org; h=in-reply-to: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=ICKsbXWih1ldCpzpgsQ/uVr8XB4yjrWqfudWCRA9yjQ=; b=fl4STBlE9F1zbALKvAgq9KByunB0yybbrYxsmospRkTMqV1a417MCXou9JDE2M9xEd bl/aBFHlfsuvG0pYnM6Xzz7qDWt4z0as4zGyq+sC6BUN5xNac79BmxBvaRqOpW1910ja rdXBmH0ELa3SHD8SJZS2QrRU8ZZJVbUTboFBEDWaW0gdvZLUG1N3mrs2ChdXrchmPO6x C3yTWAsgmxIIANk1+K6MCK8b/Rnl/LjGyYl27kVyGP3AW780DdCATtGAsSeaturDjF0P +jBn1SJQHZpjuGCxRcc0Ccmv1eLN/6+ULnb5xxF1JlTzP06kPfaEFvuiwMNAjRui/bhG UFzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795505455; x=1796110255; h=in-reply-to: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: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XjMQ= X-Received: by 2002:a05:600c:1911:b0:4ba:38a9:85e3 with SMTP id 5b1f17b1804b1-4bb8880eecbmr308304185e9.12.1795505455067; Mon, 23 Nov 2026 23:30:55 -0800 (PST) X-Received: by 2002:a05:600c:1911:b0:4ba:38a9:85e3 with SMTP id 5b1f17b1804b1-4bb8880eecbmr308303335e9.12.1795505454675; Mon, 23 Nov 2026 23:30:54 -0800 (PST) Received: from jlelli-thinkpadt14gen4.remote.csb ([151.29.158.90]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb884865b1sm407760395e9.5.2026.11.23.23.30.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2026 23:30:54 -0800 (PST) Date: Tue, 24 Nov 2026 08:30:50 +0100 From: Juri Lelli To: Sebastian Andrzej Siewior Cc: linux-kernel@vger.kernel.org, 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 v4 2/6] sched: Move DL's admission control to sysfs Message-ID: References: <20261123-sched_dl-v4-0-d523e4d960d3@linutronix.de> <20261123-sched_dl-v4-2-d523e4d960d3@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=us-ascii Content-Disposition: inline In-Reply-To: <20261123-sched_dl-v4-2-d523e4d960d3@linutronix.de> Hello, On 23/11/26 14:41, Sebastian Andrzej Siewior wrote: ... > @@ -2882,26 +2881,18 @@ static int sched_rt_handler(const struct ctl_table *table, int write, void *buff > if (ret) > goto undo; > > - ret = sched_dl_global_validate(); > + ret = sched_dl_try_boundary(sysctl_sched_rt_runtime, > + sysctl_sched_rt_period); > if (ret) > goto undo; > - > - sched_dl_do_global(); Nothing updates sysctl_sched_rt_{period,runtime} when the sysfs files are written, but this always passes both, so a procfs write of one knob resets the other to its stale sysctl value? E.g. write 2000000 to dl_period_us, then -1 to sched_rt_runtime_us: admission control is disabled as expected, but sysctl_sched_rt_period is still 1000000 and the period is back to 1s. Thanks, Juri