linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] slab: fix and cleanup of slub_debug
@ 2024-06-05  7:13 Chengming Zhou
  2024-06-05  7:13 ` [PATCH v2 1/3] slab: make check_object() more consistent Chengming Zhou
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Chengming Zhou @ 2024-06-05  7:13 UTC (permalink / raw)
  To: Christoph Lameter, Pekka Enberg, David Rientjes, Joonsoo Kim,
	Andrew Morton, Vlastimil Babka, Roman Gushchin, Hyeonggon Yoo,
	Feng Tang
  Cc: linux-mm, linux-kernel, zhouchengming, Chengming Zhou

Changes in v2:
- Change check_object() to do all the checks without skipping, report
  their specific error findings in check_bytes_and_report() but not
  print_trailer(). Once all checks were done, if any found an error,
  print the trailer once from check_object(), suggested by Vlastimil.
- Consolidate the two cases with flags & SLAB_RED_ZONE and make the
  complex conditional expressions a little prettier and add comments
  about extending right redzone, per Vlastimil.
- Add Reviewed-by from Feng Tang.
- Link to v1: https://lore.kernel.org/r/20240528-b4-slab-debug-v1-0-8694ef4802df@linux.dev

Hello,

This series includes minor fix and cleanup of slub_debug, please see
the commits for details.

Signed-off-by: Chengming Zhou <chengming.zhou@linux.dev>
---
Chengming Zhou (3):
      slab: make check_object() more consistent
      slab: don't put freepointer outside of object if only orig_size
      slab: delete useless RED_INACTIVE and RED_ACTIVE

 include/linux/poison.h       |  7 ++----
 mm/slub.c                    | 60 +++++++++++++++++++++++---------------------
 tools/include/linux/poison.h |  7 ++----
 3 files changed, 36 insertions(+), 38 deletions(-)
---
base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
change-id: 20240528-b4-slab-debug-1d8179fc996a

Best regards,
-- 
Chengming Zhou <chengming.zhou@linux.dev>



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

end of thread, other threads:[~2024-06-07  7:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-05  7:13 [PATCH v2 0/3] slab: fix and cleanup of slub_debug Chengming Zhou
2024-06-05  7:13 ` [PATCH v2 1/3] slab: make check_object() more consistent Chengming Zhou
2024-06-06  8:28   ` Vlastimil Babka
2024-06-07  7:26     ` Chengming Zhou
2024-06-05  7:13 ` [PATCH v2 2/3] slab: don't put freepointer outside of object if only orig_size Chengming Zhou
2024-06-06  8:35   ` Vlastimil Babka
2024-06-05  7:13 ` [PATCH v2 3/3] slab: delete useless RED_INACTIVE and RED_ACTIVE Chengming Zhou
2024-06-06  8:35   ` Vlastimil Babka

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