如果你正在撰寫回答常用問答集, 請把它加到 [:FAQInProgress:FAQInProgress.]
我如何 ... ?
- . /KernelCompilation 我如何 編譯核心?
- . /KernelCrossCompilation 我如何跨平臺編譯核心?
- . /DisklessImages 無磁碟開機簡介.
- . /HowToApplyAPatch 我如何應用修補程式.
- . KernelHackingTools 有任何好的IDE嗎? 我如何處理這些程式碼?
- . /CompileVendorDriver 我如何編譯第三方設備驅動程式?
- . /LinuxKernelModuleCompile 我如何編譯Linux核心模組?
- . /LinuxKernelDebug101 哪種方式最容易除錯?
- . CareerAdvice 我如何獲得像核心駭客的工作?
- . UpstreamMerge 我如何讓我的程式碼進入上游核心?
核心新手 問題
- . /VariousKernelTrees 各類型的核心分支 有何作用?
- . /WhereDoIBegin 我從何開始?
- . /People 在 KernelNewBies 上我可以在#kernelnewbies遇到誰?
- . /DoINeedToKnowAssembler 我需要知到組合語言以便客探索核心嗎?
- . /DoINeedToKnowHardware 我需要知道許多硬體相關以探索核心嗎?
- . DoesNotWork 我建構我自己的核心, 但他沒有如期作用. 問題出在哪?
核心探索
- . /VariousKernelTrees 為何有不同的核心分支?
- . /System.map 是什麼檔?
- . /MajorMinor XXX 有什麼 主要/ 次要的東西?
- . /CodingStyle 我該使用那種編寫程式風格?
- . /LikelyUnlikely 巨集 likely() 和 unlikely() 代表什麼意思?
- . /Preemption 先佔式是什麼意思 ? 這在Linux底下可用嗎?
- . /LibraryFunctionsInKernel 我可以在核心裡使用函式庫功能嗎?
- . /SyscallTrace 如何偵測系統呼叫?
- . /LinkedLists 核心如何實作 連結串列?
- . /WhyWritingFilesFromKernelIsBad 為何從核心讀/寫檔案是不好的, 如何換個方式達成目地?
Linux kernel gotchas
- . /get current How does get_current() work?
- . /current How does the current macro helps you access your process-related record?
- . /ExternAndStaticInlineVariable What's the difference between extern and static inline?
- . /DoWhile0 Why do a lot of #defines in the kernel use do { ... } while (0)?
- . /LikelyUnlikely What do the macros likely() and unlikely() mean?
- . /ContainerOf What is container_of ? How does it work ?
- . /InitExitMacros What are the init and exit macros ?
- . /WhereIs bad udelay Now, where is bad_udelay defined?
- . /asmlinkage What is asmlinkage ?
- . /down What is that jmp 1b doing out there?
- . /TestWpBit test_wp_bit magic, or how exception fixups work.
- . /BUG How does BUG() work?
- . /StackTrace
- Why is there a function on my stack trace that does not get called?
- How do I manually get a stack trace?
- . BootSectorAndKernelImage Why does the kernel no longer directly boot from floppy?
- . /FastpathAndSlowpath What is the difference between terms: "Fast path" and "Slow path" ?
Hardware Questions
- . /HyperthreadingDoesNotWork My CPU says it can do hyperthreading. Why do I only see one thread?
- . CategoryFAQ