From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796049546; b=0gzmqxraqPRY3cR7H6LqkKATg/rAPbrKomJrJZ6Px5zF/65jY8K5RkVY6PLxLPwqkUkf 0mPZlFbrHDUp5kCPRXpRmcTavpIzbguwtA13AYRv9PofA4f972uDBnbMKmfw7DBJ4dCuK jCSHy88TvZkwG1hPv0TWtJU8mL/QfuweFTAzLJ4n5OPPqbeFPwJ64WJnP43WeVrIr5xzU J9Ti+0Qp28ogq6TKOgSYrXIuIuV/KObzxiLvvnj9ha8AdrhT2T1SQjjLl4wYbUBCskq2G Bzkpfv+6Wnk+J6/QRuNP+cEVmPebmc17VKp8NCdD4R2lzgtyTKuEmaO1uounMO17eKA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796049546; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=eaHaBtWDioHDFJBygw+YeYypM5mqzqQo/lVyTeRQmzM=; b=LVuYMxIhfg78KQt2a2TsJ3LYMYIyBa5lI/DLXwQAvvkdaqm/275cxgAEig1kmbuvXWGL Cz4kL4kdWzDTtuLkZkwJHAjciLag20A4rYT9QswS31EYyDrxc5ui30mztjOMjinxnhIXy +I998dUUePHg60joSCWC5pJk61d2YkBMc3mC4fwuYL2S+c/31wpuQpTncZ3voyjAlVDgO CSCNI39nWehAuttFGRFmMvVgxScS+5j2FINgaDIyW2+MqnuZeEsI+SMC1oiMNnLPHLI78 t8Wnvrqt0kisUmTnfcmTL/M/E/MgtBuOE/di258am8o294rUFU2uUL6k4Mk2EvwV24Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JbREN1YR; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 38384606A33C; Mon, 30 Nov 2026 14:39:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JbREN1YR Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A8A11F0092A; Mon, 30 Nov 2026 14:39:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796049545; bh=eaHaBtWDioHDFJBygw+YeYypM5mqzqQo/lVyTeRQmzM=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=JbREN1YRj8A6/9o9QAhd9YSEyGabliSmskN9wq4/mNguL7tu53RfyflrMtJEizh8K ozGGjH0TpyPx4JS8BScgkFRCtuv6D7Mfa/PS7VM/OgTAw4kY2NmaIvovbB0o0iV3+S GGsOt84/L1JGaAkT0QO+jpewIRyGIz9vnChSD7R7+c+5n2gPsBq+NV2f8a1RMLomto tT6wdKlwvXaiiFNNTjtpzCxg8BDP37KClwuWCigXeIZs7dx7quqnzRZj5pVkEKcbsk lAhsLhTE3OHfJO+OqjvTcnr3ci/gqnYeddsXjTdhmB2kW/W3CAMuZYxqqVs12Vfhm6 zZPTKAD7BShAQ== Date: Mon, 30 Nov 2026 04:39:04 -1000 From: Tejun Heo To: Kuba Piecuch Cc: David Vernet , Andrea Righi , Changwoo Min , sched-ext@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCHSET sched_ext/for-7.4-fixes] sched_ext: sub: Don't run ops.sub_caps_updated() in an SCX op context Message-ID: References: <20261125153353.1364467-1-jpiecuch@google.com> <8e4043f995e96c0d4642287bc5009000@kernel.org> <20261130125254.1864040-1-jpiecuch@google.com> 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: <20261130125254.1864040-1-jpiecuch@google.com> Hello, Kuba. On Mon, Nov 30, 2026 at 12:53:26PM +0000, Kuba Piecuch wrote: ... > I'll drop this RFC and send a doc patch clarifying @sub_caps_updated > (may run synchronously in the caller's locking context as well as > unlocked, intended only for tracking caps and propagating > grants/revokes, with cap-acting operations like scx_bpf_cidperf_set() > belonging in ops.sub_ecaps_updated()). Let me know if you'd also want > scx_kfunc_context_filter() to reject rq-lock-sensitive kfuncs from > ops.sub_caps_updated() at load time, or if updating the doc comment is > enough. Oh yeah, if we can reject them, that'd be better. Thanks. -- tejun