Skip to content

Draft: linux-pine64-pinephonepro: Optimize kernel debugging configuration for improved performance

Jan Jasper de Kroon requested to merge PsychoGame/pmaports:ppp-optimize into master
  • Reduced default console log level from 15 to 7 to decrease verbosity.
  • Lowered default message log level from 7 to 4 for more concise logging.
  • Disabled CONFIG_BOOT_PRINTK_DELAY to speed up boot process.
  • Enabled CONFIG_DEBUG_INFO for better debugging support.
  • Switched from CONFIG_DEBUG_INFO_NONE to CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT.
  • Increased CONFIG_FRAME_WARN from 1024 to 2048.
  • Disabled CONFIG_STRIP_ASM_SYMS to retain assembly symbols for debugging.
  • Enabled CONFIG_MAGIC_SYSRQ with default enable set to 0x1 and serial support.
  • Disabled CONFIG_PAGE_EXTENSION and CONFIG_PAGE_POISONING for memory optimization.
  • Disabled CONFIG_SCHED_STACK_END_CHECK to reduce scheduler overhead.
  • Disabled CONFIG_MEMORY_NOTIFIER_ERROR_INJECT to avoid unnecessary memory error injections.

These changes are part of ongoing efforts to optimize the kernel's debugging section, aiming to streamline logging output and enhance overall performance.

Edited by Jan Jasper de Kroon

Merge request reports

Loading