X.509 证书 和 taskstats 对应的config选项

linux-3.18.4$ grep -rn "Loading compiled-in X.509 certificates" ./*
匹配到二进制文件 ./arch/x86/boot/compressed/vmlinux.bin
匹配到二进制文件 ./kernel/system_keyring.o
匹配到二进制文件 ./kernel/built-in.o
./kernel/system_keyring.c:61:    pr_notice("Loading compiled-in X.509 certificates\n");
匹配到二进制文件 ./vmlinux
匹配到二进制文件 ./vmlinux.o

cheng@chpc:/usr/src/linux-3.18.4$ grep -rn "Loaded X.509 cert" ./*匹配到二进制文件 ./arch/x86/boot/compressed/vmlinux.bin
匹配到二进制文件 ./kernel/system_keyring.o
匹配到二进制文件 ./kernel/built-in.o
./kernel/system_keyring.c:93:            pr_notice("Loaded X.509 cert '%s'\n",
匹配到二进制文件 ./vmlinux
匹配到二进制文件 ./vmlinux.o


Cryptographic API (CRYPTO)

    CONFIG_CRYPTO:
      CONFIG_X509_CERTIFICATE_PARSER

这两个都是不用用户负责的不能更改的y项

CONFIG_CRYPTO=y

CONFIG_X509_CERTIFICATE_PARSER=y


[    1.905003] Loading compiled-in X.509 certificates
[    1.911272] Loaded X.509 cert 'Magrathea: Glacier signing key: 738d8a015871425830b44b7e12a97a2a21dcfb92'

[    1.911310] registered taskstats version 1


#
# CPU/Task time and stats accounting
#
 
CONFIG_TASKSTATS=y



Power management and ACPI options

CPU Frequency scaling (CPU_FREQ)

CONFIG_CPU_FREQ:


./drivers/cpufreq/acpi-cpufreq.c


static int __init acpi_cpufreq_init(void)
{
    int ret;

是的会被do_initcalls()函数调用的


[    1.912386] acpi-cpufreq: overriding BIOS provided _PSD data

CONFIG_CPU_FREQCPUfreq子系统允许动态改变CPU主频,达到省电和降温的目的.

现如今的CPU都已经支持动态频率调整,建议开启.

不过,如果你是为虚拟机编译内核,就没有必要开启了,由宿主机内核去控制就OK了.


你可能感兴趣的:(内核编译)