From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D3323B7B7C; Mon, 9 Mar 2026 16:17:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.79.88.28 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773073053; cv=none; b=BtGT+644BIJ/dNDN5R0MMUo+UDllsPCQdNxFV9uvoxDFBQ6g4QmuA62JMG7DZq7giL96QbnuULXM6gHlT8PEvWXWATZeC58k+51TauNP6fLHp9F62Wv4KwT5vr8mz9HkuPKDW02xlwEThPZ3Ca3ed3xKxPb+N2AHuUPWTxw6p3w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773073053; c=relaxed/simple; bh=UD0dm+OloczYr1ek1MUFdc3Us4Kx5Rl5ZAUrOon9nzM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=oiBGzOY6NjpIuxCtKfVrWQESKpxFOPECqXyKlUwk143l3396sLJaqvcjreOWNw9z690rcpNSyQLQ+L1pczLyPWms3IKRujiJ+8q7yKdgflwWBwwjyNRfbOM+0SRTaENzaDwDsvg4soA8cJ3UqeSYYYc/onFhsO3E27/0X0Ewtyk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net; spf=pass smtp.mailfrom=lwn.net; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b=nGZzrxo7; arc=none smtp.client-ip=45.79.88.28 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lwn.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b="nGZzrxo7" DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 89D2540429 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1773073051; bh=T9zkIHLV7xrYDf350oGtXbmqwAFtsvJ1iVEnCrbfp4M=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=nGZzrxo7I84z8s+QcErmdbvT01e61IguJUf+4btWOjDP7YqjAaR4p+l+K4zdIu+F1 oOxb/lRSBgwyUhoX6R44SeS6rxrg4nlQ+VupgTm+r9gvz8gXatCDIa1kLvEt+nyyI+ 0LeCVLXET5TlxNpZBZ5OK5ERGGwUfOoWUXduOV7hYaPseqLGlY85NJ4ef3soBVCRg9 CRgg42kOeJjkFcanMcmHTKzjqE/iWUXKFkrzss2yHOXcbXAaXp9cG6H3biyoET1Bf7 HwpuCCevWa4TVyPK1ztg8En06SWKv7wpM6Gk/N7BbY44lL+XffgnlcE2yJc86nHqF7 yLde68mUltFsg== Received: from localhost (unknown [IPv6:2601:280:4600:27b::1fe]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 89D2540429; Mon, 9 Mar 2026 16:17:31 +0000 (UTC) From: Jonathan Corbet To: Tommaso Cucinotta , Peter Zijlstra Cc: Tommaso Cucinotta , linux-api@vger.kernel.org, Juri Lelli , Shuah Khan , Shashank Balaji , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] sched/deadline: document new sched_getattr() feature for retrieving current parameters for DEADLINE tasks In-Reply-To: <20260304102843.1373905-2-tommaso.cucinotta@santannapisa.it> References: <20260303104215.1324243-1-tommaso.cucinotta@santannapisa.it> <20260304102843.1373905-1-tommaso.cucinotta@santannapisa.it> <20260304102843.1373905-2-tommaso.cucinotta@santannapisa.it> Date: Mon, 09 Mar 2026 10:17:30 -0600 Message-ID: <87ikb5vuxx.fsf@trenco.lwn.net> Precedence: bulk X-Mailing-List: linux-api@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Tommaso Cucinotta writes: > Document in Documentation/sched/sched-deadline.rst the new capability of > sched_getattr() to retrieve, for DEADLINE tasks, the runtime left and absolute > deadline (setting the flags syscall parameter to 1), in addition to the static > parameters (obtained with flags=0). > > Signed-off-by: Tommaso Cucinotta > Acked-by: Juri Lelli > --- > Documentation/scheduler/sched-deadline.rst | 19 +++++++++++++++---- > 1 file changed, 15 insertions(+), 4 deletions(-) Applied, thanks. jon