Skip to content

Commit

Permalink
Translat Documentation/SubmittingChecklist into Chinese
Browse files Browse the repository at this point in the history
I have translated linux-2.6/Documentation/SubmittingChecklist into
Chinese. This patch can add translated file(SubmittingChecklist) under
linux-2.6/Documentation/zh_CN/.  Thanks.

Signed-off-by: Harry Wei <harryxiyou@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Harry Wei authored and Greg Kroah-Hartman committed Feb 18, 2011
1 parent 25d41d8 commit c164cdf
Showing 1 changed file with 109 additions and 0 deletions.
109 changes: 109 additions & 0 deletions Documentation/zh_CN/SubmitChecklist
Original file line number Diff line number Diff line change
@@ -0,0 +1,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�ں��ύ�嵥
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

��Щ���dz���Documentation/SubmittingPatches�ĵ������ṩ���Լ�����
�����ύLinux�ں˲�����˵����

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

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

2b��ͨ�� allnoconfig, allmodconfig

2c����ʹ�� 0=builddir �ɹ��ع���

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

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

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

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

7�����е�Kconfigѡ����¶�Ҫ��˵�����֡�

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

9�������м���ԡ�

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

11������kernel-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_SPINLOCK_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��

20��������Dz��Ƕ�ͨ��`make headers_check'��

21���Ѿ�ͨ����������slab��page-allocationʧ�ܼ�顣�鿴Documentation/fault-injection/��

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

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

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

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

26�������ĸ��Ĵ�����������ʹ���κε��ں�APIs�����������kconfig�����й�ϵ�Ĺ��ܣ����Ҫ
ʹ����ص�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)

0 comments on commit c164cdf

Please sign in to comment.