dynup/kpatch — pull request #210 by spartacus06 (2014-05-24 05:49:46+00:00)
Title: [RFC] set CONFIG_DEBUG_INFO=n during builds

I notice that there is a TON of disk activity during this builds on the
order of GBs per patch built. This is largely because the vmlinux
intermediate files are rebuilt each time, each containing all of the
debug info which increases the size of these file by about an order of
magnitude. These operations are:

LINK vmlinux
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
KSYM .tmp_kallsyms1.o
KSYM .tmp_kallsyms2.o
LD vmlinux
SORTEX vmlinux
SYSMAP System.map

I have tested and the symbols stay in alignment without the debug info.
We strip the debug info out for the object diff'ing anyway.

Just wanted to see what you thought about saving time (and our SSDs
lifetime) by doing this. If not, I think I'm going to have to move
~/.kpatch to tmpfs :)

Signed-off-by: Seth Jennings