Skip to content

RFC CONFIG_STABLE to switch off development checks

[email protected] linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 35 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4CONFIG_STABLE: Define itinit/Kconfig+7 -025 replies
2/4CONFIG_STABLE: Switch off kmalloc(0) tests in slab allocatorsinclude/linux/slub_def.h mm/slab.c+4 -02 replies
3/4CONFIG_STABLE: Switch off SLUB bannermm/slub.c+2 -10 replies
4/4CONFIG_STABLE: SLUB: Prefer object corruption over failuremm/slub.c+24 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/4] CONFIG_STABLE to switch off development checks

A while back we talked about having the capability of switching off checks like the one for kmalloc(0) for stable kernel releases. This is a first stab at such functionality. It adds #ifdef CONFIG_STABLE for now. Maybe we can come up with some better way to handle it later. There should alsol be some way to set CONFIG_STABLE from the Makefile.

CONFIG_STABLE switches off

- kmalloc(0) check in both slab allocators
- SLUB banner
- Makes SLUB tolerate object corruption like SLAB (not sure if we really want to go down this route. See patch)

Signature · 5 lines
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>