Linux

make menuconfig 中的 CONFIG_COMPAT_VDSO 在哪裡?

  • May 14, 2018

我正在嘗試編譯 Linux 核心以在 XenServer 5.6 fp1 上執行輕量級和半虛擬化。

我正在使用這裡給出的指南:http: //www.mad-hacking.net/documentation/linux/deployment/xen/pv-guest-basics.xml

但是當我到達選項時,我很難過CONFIG_COMPAT_VDSO

它究竟在哪裡make menuconfig?該站點表明選項位於處理器類型和功能組中,但我沒有看到它:

[*] Tickless System (Dynamic Ticks)                                  
[*] High Resolution Timer Support                                    
[*] Symmetric multi-processing support                               
[ ] Support for extended (non-PC) x86 platforms                      
[ ] Single-depth WCHAN output                                        
[*] Paravirtualized guest support  --->                              
[*] Disable Bootmem code (NEW)                                       
[ ] Memtest (NEW)                                                    
   Processor family (Core 2/newer Xeon)  --->                       
(2) Maximum number of CPUs                                           
[ ] SMT (Hyperthreading) scheduler support                           
[ ] Multi-core scheduler support                                     
   Preemption Model (No Forced Preemption (Server))  --->           
[ ] Reroute for broken boot IRQs                                     
[ ] Machine Check / overheating reporting                            
< > Dell laptop support (NEW)                                        
< > /dev/cpu/microcode - microcode support                           
<M> /dev/cpu/*/msr - Model-specific register support                 
<M> /dev/cpu/*/cpuid - CPU information support                       
[ ] Numa Memory Allocation and Scheduler Support                     
   Memory model (Sparse Memory)  --->                               
[*] Sparse Memory virtual memmap (NEW)                               
[*] Allow for memory hot-add                                         
[*]   Allow for memory hot remove                                    
[ ] Allow for memory compaction                                      
[*] Page migration                                                   
[*] Enable KSM for page merging                                      
(65536) Low address space to protect from user allocation (NEW)      
[ ] Check for low memory corruption                                  
[ ] Reserve low 64K of RAM on AMI/Phoenix BIOSen                     
-*- MTRR (Memory Type Range Register) support                        
[ ]   MTRR cleanup support                                           
[*] Enable seccomp to safely compute untrusted bytecode (NEW)        
[*] Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)
   Timer frequency (100 HZ)  --->                                   
[ ] kexec system call                                                
[ ] kernel crash dumps                                               
[*] Build a relocatable kernel (NEW)                                 
-*- Support for hot-pluggable CPUs                                   
[ ] Built-in kernel command line (NEW) 

僅供參考,我正在配置Gentoo 的核心 v2.6.36-hardened-r9

正如您已經說過的,它位於“處理器類型和功能”下。

你正在編譯 Gentoo 的強化核心原始碼,所以程式碼會經歷很多更新檔。

在 Google 中快速搜尋返回:Gentoo kernel VDSO。看起來 Gentoo 之前甚至已經禁用了幾個版本。

為什麼不直接從 kernel.org 下載?

引用自:https://unix.stackexchange.com/questions/9885