First of all, there must be a stable version of the kernel source code. I started to use an RC version, and the results always failed...
CD to the kernel code directory,/usr/src/linux-x.x.x does not seem to work, I am using my own linux-2.6.33.3
Then execute make mandocs
Generated in about half an hour
Run sudo make installmandocs to install
In this way, you can use man to view kernel functions.
Be sure to install the xmlto package
The kernel also has a large number of documents automatically generated from the code. It includes a comprehensive introduction to kernel internal APIs and how
Properly Handle the locking rules. The generated documents are stored in the documentation/docbook/directory. Included
The following commands are used in the main directory of the core source code to generate PDF, postscript, HTML, and manual.
Pages and other documents in different formats:
Make multiple docs
Make psdocs
Make htmldocs
Make mandocs
-------
Source code
Documentation/zh_cn/howto