[PATCH 0/2] vmlinux.lds.h tweaks

Jim Cromie posted 2 patches 3 years, 5 months ago
include/asm-generic/vmlinux.lds.h | 221 +++++++++++-------------------
1 file changed, 81 insertions(+), 140 deletions(-)
[PATCH 0/2] vmlinux.lds.h tweaks
Posted by Jim Cromie 3 years, 5 months ago
hi Greg,

These 2 patches are "no functional change", but they are a simple step
towards de-duplicating the repetitive columms in the __dyndbg section.

For a DYNAMIC_DEBUG=y kernel with 5k pr_debugs/drm.debugs, the
footprint reduction should be ~100 KiB

Jim Cromie (2):
  vmlinux.lds.h: add BOUNDED_SECTION* macros
  vmlinux.lds.h: place optional header space in BOUNDED_SECTION

 include/asm-generic/vmlinux.lds.h | 221 +++++++++++-------------------
 1 file changed, 81 insertions(+), 140 deletions(-)

CC: Suren Baghdasaryan <surenb@google.com>
CC: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>

-- 
2.37.3