Re: [ANNOUNCE] v5.9-rc2-rt1

From: Daniel Wagner
Date: Thu Aug 27 2020 - 11:19:12 EST


On Thu, Aug 27, 2020 at 12:28:40PM +0200, Sebastian Andrzej Siewior wrote:
> On 2020-08-27 12:16:22 [+0200], Daniel Wagner wrote:
> > The -rt kernel is roughly 6MB larger. Just need to check the memory
> > ranges u-boot is using.
>
> so that 6MiB sounded bad but then it is ~36MiB in total so….
> Is this full debug and so on?

I didn't really try to minimize the kernel. I haven't checked yet
if 5.6-rt is also showing this size increase. At least, our SUSE spin
off from v5.4-rt doesn't have this size increase with the same config.

Would be interesting to see the size numbers for v5.6-rt? Hmm, I'll
just start the compiler. It's all scripted anyway :)

Anyway, the config is:

make defconfig

and

#
# Networking
#
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y

# NFS
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_V4=y
CONFIG_NFS_V4_1=y
CONFIG_NFS_V4_2=y
CONFIG_ROOT_NFS=y

#
# Debugging
#
CONFIG_DEBUG_INFO=y
CONFIG_PRINTK_TIME=y
CONFIG_DEBUG_KERNEL=y
CONFIG_EARLY_PRINTK=y
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=7

# Embedded config to kernel. /proc/config.gz
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y

CONFIG_KEXEC=y

# Default settings
#
# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_LOCKDEP is not set

CONFIG_DEBUG_ATOMIC_SLEEP=y

# CONFIG_CPU_FREQ is not set
# CONFIG_CPU_IDLE is not set

# CONFIG_NO_HZ is not set
CONFIG_HZ_PERIODIC=y

CONFIG_HZ_250=y
CONFIG_HZ=250

# CONFIG_SUSPEND is not set
# CONFIG_HIBERNATION is not set
# CONFIG_PM is not set

# cyclicdeadline dependency
CONFIG_SCHED_DEBUG=y

CONFIG_RCU_EXPERT=y
CONFIG_RCU_NOCB_CPU=y

# tracing
CONFIG_EMBEDDED=y
CONFIG_EXPERT=y
CONFIG_FTRACE=y
CONFIG_FUNCTION_TRACER=y
CONFIG_SCHED_TRACER=y

CONFIG_PREEMPT_RT=y