[compiler-rt] [compiler-rt][rtsan] sched cpu affinity for linux interception. (PR #124194)
Chris Apple via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 27 03:58:31 PST 2025
cjappl wrote:
> I appreciate that manipulating scheduler parameters is a normal thing to want to do in real-time programming, but I wanted to ask if there's a use case where the user would actually want to change the scheduling parameters from within their hot path algorithm (i.e. inside a `[[nonblocking]]` function). I understand that the real-time thread entrypoint functions will need to do this parameter manipulation - but this entrypoint can be different to the real-time algorithm entrypoint. Here's what I mean:
Ah, yes this makes sense to me! I am good with intercepting then. I agree your "real time setup" functions should not be `nonblocking` constrained generally, as they exist in the primordial soup before you start fielding requests.
https://github.com/llvm/llvm-project/pull/124194
More information about the llvm-commits
mailing list