Re: [PATCH v2 3/8] tracing: Have syscall trace events read user space string

From: Steven Rostedt

Date: Thu Sep 25 2025 - 07:16:03 EST


On Thu, 25 Sep 2025 09:26:09 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> And you can't just allocate memory and not bother with the
> migrate_disable() and retry stuff because?

Because tracing is supposed to be as non-intrusive as possible. I
rather not call into the allocation system from a trace point. I'm not
sure what side effects that may cause either.

I have yet to cause the retry path under stress tests. I had to insert
a msleep() for testing purposes to make sure it worked.

-- Steve