summaryrefslogtreecommitdiff
path: root/Documentation/zh_CN/SubmitChecklist
blob: 4c741d6bc048d2dbc86790ba754b492b134f860a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
Chinese translated version of Documentation/SubmitChecklist

If you have any comment or update to the content, please contact the
original document maintainer directly.  However, if you have a problem
communicating in English you can also ask the Chinese maintainer for
help.  Contact the Chinese maintainer if this translation is outdated
or if there is a problem with the translation.

Chinese maintainer: Harry Wei <harryxiyou@gmail.com>
---------------------------------------------------------------------
Documentation/SubmitChecklist ķ

ۻ±ĵݣֱϵԭĵάߡʹӢ
ѵĻҲİά²ʱ߷
⣬ϵİάߡ

İάߣ  Harry Wei <harryxiyou@gmail.com>
İ淭ߣ  Harry Wei <harryxiyou@gmail.com>
İУߣ  Harry Wei <harryxiyou@gmail.com>


Ϊ
---------------------------------------------------------------------
Linuxںύ嵥
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

һЩں˿ӦĻ飬뿴Լں˲ύ
ܵĸ졣

ЩdzDocumentation/SubmittingPatchesĵṩԼ
ύLinuxں˲˵

1ʹһô#include/ǸܵǸļ
   Ҫ붨/Ǹܵͷļ

2û߸CONFIGѡ =y=m=n
   Ҫб뾯/ ҪӾ/

2bͨ allnoconfig, allmodconfig

2cʹ 0=builddir ɹع

3ͨʹñؽ빤߻һЩڶCPUϹ

4ppc64 һܺõļ齻ĿܣΪѡunsigned long
   64λֵʹá

5Documentation/CodingStyleļϸ㲹
   ʹòΥ(scripts/checkpatch.pl)Աύ
   Ӧõ㲹еΥ档

6κθ»߸ĶCONFIGѡܴò˵

7еKconfigѡ¶Ҫ˵֡

8ѾܽصKconfigϡǺͨõ--½

9мԡ

10ʹ'make checkstack''make namespacecheck'飬Ȼ޸ҵ⡣
    ע⣺ջ鲻ȷس⣬κεһڶջʹö512ֽ
    Ҫ׼޸ġ

11kernel-docȫںAPIsļҪ̬ĺǰҲν
    ʹ'make htmldocs''make mandocs'kernel-docȻ޸κ
    ֵ⡣

12ѾͨCONFIG_PREEMPT, CONFIG_DEBUG_PREEMPT,
    CONFIG_DEBUG_SLAB, CONFIG_DEBUG_PAGEALLOC, CONFIG_DEBUG_MUTEXES,
    CONFIG_DEBUG_SPINLOCK, CONFIG_DEBUG_ATOMIC_SLEEPԣͬʱ
    ʹܡ

13Ѿʹû߲ʹ CONFIG_SMP  CONFIG_PREEMPTִʱ䡣

14ӰIO/DiskȵȣѾͨʹû߲ʹ CONFIG_LBDAF ԡ

15еcodepathsѾʹlockdepùܡ

16е/proc¼¶ҪļDocumentation/Ŀ¼¡

17еں¶¼Documentation/kernel-parameters.txtļС

18еģ¶MODULE_PARM_DESC()¼

19еûռӿڸ¶¼Documentation/ABI/鿴Documentation/ABI/README
    ԻøϢıûռӿڵIJӦñʼ͸linux-api@vger.kernel.org

20DzǶͨ`make headers_check'

21Ѿͨslabpage-allocationʧܼ顣鿴Documentation/fault-injection/

22¼ԴѾͨ`gcc -W'ʹ"make EXTRA_CFLAGS=-W"롣ܶෳգ
    ǶѰ©洦:"warning: comparison between signed and unsigned"

23ϲ-mmٲԣȷǷ񻹺ͲеһԼVMVFS
    ϵͳи仯

24еڴ{e.g., barrier(), rmb(), wmb()}ҪԴеһעǶǸʲô
    Լԭ

25κƵIJӣҲҪDocumentation/ioctl/ioctl-number.txt

26ĸĴʹκεںAPIskconfigйϵĹܣҪ
    ʹصkconfigŹرգ and/or =mѡṩ[ͬһʱ䲻õĶã
    ]

    CONFIG_SMP, CONFIG_SYSFS, CONFIG_PROC_FS, CONFIG_INPUT, CONFIG_PCI,
    CONFIG_BLOCK, CONFIG_PM, CONFIG_HOTPLUG, CONFIG_MAGIC_SYSRQ,
    CONFIG_NET, CONFIG_INET=n (һʹ CONFIG_NET=y)