]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rseq: Clarify rseq registration rseq_size bound check comment
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 20 Feb 2026 20:06:40 +0000 (15:06 -0500)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 23 Feb 2026 10:19:19 +0000 (11:19 +0100)
commit26d43a90be81fc90e26688a51d3ec83188602731
treea09a705dd24a91ae5089e6d6c756971f7990ed25
parent5324953c06bd929c135d9e04be391ee2c11b5a19
rseq: Clarify rseq registration rseq_size bound check comment

The rseq registration validates that the rseq_size argument is greater
or equal to 32 (the original rseq size), but the comment associated with
this check does not clearly state this.

Clarify the comment to that effect.

Fixes: ee3e3ac05c26 ("rseq: Introduce extensible rseq ABI")
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260220200642.1317826-2-mathieu.desnoyers@efficios.com
kernel/rseq.c