Thread (21 messages) 21 messages, 6 authors, 2024-06-05

Re: [PATCH 2/6] tracing: Replace memcpy() with __get_task_comm()

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2024-06-03 22:38:39
Also in: bpf, linux-fsdevel, linux-mm, linux-security-module, selinux

On Mon, 3 Jun 2024 at 15:36, Steven Rostedt [off-list ref] wrote:
It's actually a 4 byte meta data that holds it.
Ok, much better.
Note, I've been wanting to get rid of the hard coded TASK_COMM_LEN from the
events for a while. As I mentioned before, the only reason the memcpy exists
is because it was added before the __string() logic was. Then it became
somewhat of a habit to do that for everything that referenced task->comm. :-/
Ok, as long as it's an actual improvement, then ack.

            Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help