mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] sparc32: remove redundant memsets after memblock allocations
@ 2026-08-27 14:54 Sang-Heon Jeon
  2026-08-27 14:54 ` [PATCH 1/2] sparc32: remove redundant memset in arch_mm_preinit() Sang-Heon Jeon
  2026-08-27 14:54 ` [PATCH 2/2] sparc32: remove redundant memset in srmmu_nocache_init() Sang-Heon Jeon
  0 siblings, 2 replies; 3+ messages in thread
From: Sang-Heon Jeon @ 2026-08-27 14:54 UTC (permalink / raw)
  To: Andreas Larsson, David S. Miller; +Cc: linux-kernel, sparclinux

memblock_alloc() and memblock_alloc_or_panic() return zeroed memory,
so the memsets after the allocations are redundant.

Sang-Heon Jeon (2):
  sparc32: remove redundant memset in arch_mm_preinit()
  sparc32: remove redundant memset in srmmu_nocache_init()

 arch/sparc/mm/init_32.c | 1 -
 arch/sparc/mm/srmmu.c   | 1 -
 2 files changed, 2 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-08-27 14:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-27 14:54 [PATCH 0/2] sparc32: remove redundant memsets after memblock allocations Sang-Heon Jeon
2026-08-27 14:54 ` [PATCH 1/2] sparc32: remove redundant memset in arch_mm_preinit() Sang-Heon Jeon
2026-08-27 14:54 ` [PATCH 2/2] sparc32: remove redundant memset in srmmu_nocache_init() Sang-Heon Jeon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®