Skip to content

Remove get_task_comm() and print task comm directly

Yafang Shao dri-devel intel-gfx intel-xe linux-mm linux-security-module linux-snps-arc linux-wireless lkml nouveau ocfs2-devel 1 version Applied

Status from this message: [merged mm-nonmm-stable] drivers-remove-get_task_comm-and-print-task-comm-directly.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest5 patches 0 repliesApplied 5/5

Changes in v2 from the cover letter

- Don't add "%pTN" (Petr, Kalle, Borislav, Andy, Linus)

Patches in v2 All 5 applied

#Subject and filesSizeRepliesApplied
1/5kernel: Remove get_task_comm() and print task comm directlykernel/capability.c kernel/futex/waitwake.c+3 -80 repliesApplied
2/5arch: Remove get_task_comm() and print task comm directlyarch/arc/kernel/unaligned.c arch/x86/kernel/vm86_32.c+4 -60 repliesApplied
3/5net: Remove get_task_comm() and print task comm directlynet/wireless/wext-core.c+1 -30 repliesApplied
4/5security: Remove get_task_comm() and print task comm directlysecurity/yama/yama_lsm.c+1 -30 repliesApplied
5/5drivers: Remove get_task_comm() and print task comm directlydrivers/accel/habanalabs/common/context.c drivers/accel/habanalabs/common/habanalabs_ioctl.c drivers/gpu/drm/i915/display/intel_display_driver.c +3 more+10 -220 repliesApplied

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchPaul MooreKees CookJiri SlabyLyude Paul
1/5
2/5
3/5
4/5R-b A-b
5/5R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/5] Remove get_task_comm() and print task comm directly

Since task->comm is guaranteed to be NUL-terminated, we can print it directly without the need to copy it into a separate buffer. This simplifies the code and avoids unnecessary operations.

v1->v2:
- Don't add "%pTN" (Petr, Kalle, Borislav, Andy, Linus)

v1: https://lore.kernel.org/all/[email protected]/

Yafang Shao (5):
kernel: Remove get_task_comm() and print task comm directly
arch: Remove get_task_comm() and print task comm directly
net: Remove get_task_comm() and print task comm directly
security: Remove get_task_comm() and print task comm directly
drivers: Remove get_task_comm() and print task comm directly

 arch/arc/kernel/unaligned.c                         |  5 ++---
 arch/x86/kernel/vm86_32.c                           |  5 ++---
 drivers/accel/habanalabs/common/context.c           |  3 +--
 drivers/accel/habanalabs/common/habanalabs_ioctl.c  | 11 +++--------
 drivers/gpu/drm/i915/display/intel_display_driver.c |  6 ++----
 drivers/gpu/drm/nouveau/nouveau_chan.c              |  4 +---
 drivers/gpu/drm/nouveau/nouveau_drm.c               |  5 ++---
 drivers/tty/tty_io.c                                |  3 +--
 kernel/capability.c                                 |  8 ++------
 kernel/futex/waitwake.c                             |  3 +--
 net/wireless/wext-core.c                            |  4 +---
 security/yama/yama_lsm.c                            |  4 +---
 12 files changed, 19 insertions(+), 42 deletions(-)
Signature · 1 line
2.43.5