Documentation/translations/zh_CN/process/management-style.rst
Source file repositories/reference/linux-study-clean/Documentation/translations/zh_CN/process/management-style.rst
File Facts
- System
- Linux kernel
- Corpus path
Documentation/translations/zh_CN/process/management-style.rst- Extension
.rst- Size
- 12058 bytes
- Lines
- 208
- Domain
- Support Tooling And Documentation
- Bucket
- Documentation
- Inferred role
- Support Tooling And Documentation: documentation
- Status
- atlas-only
Why This File Exists
Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
.. include:: ../disclaimer-zh_CN.rst
:Original: :ref:`Documentation/process/management-style.rst <managementstyle>`
:Translator: Alex Shi <alex.shi@linux.alibaba.com>
.. _cn_managementstyle:
Linux内核管理风格
=================
这是一个简短的文档,描述了Linux内核首选的(或胡编的,取决于您问谁)管理风格。
它的目的是在某种程度上参照 :ref:`process/coding-style.rst <codingstyle>`
主要是为了避免反复回答 [#cnf1]_ 相同(或类似)的问题。
管理风格是非常个人化的,比简单的编码风格规则更难以量化,因此本文档可能与实
际情况有关,也可能与实际情况无关。起初它是一个玩笑,但这并不意味着它可能不
是真的。你得自己决定。
顺便说一句,在谈到“核心管理者”时,主要是技术负责人,而不是在公司内部进行传
统管理的人。如果你签署了采购订单或者对你的团队的预算有任何了解,你几乎肯定
不是一个核心管理者。这些建议可能适用于您,也可能不适用于您。
首先,我建议你购买“高效人的七个习惯”,而不是阅读它。烧了它,这是一个伟大的
象征性姿态。
.. [#cnf1] 本文件并不是通过回答问题,而是通过让提问者痛苦地明白,我们不知道
答案是什么。
不管怎样,这里是:
.. _cn_decisions:
1)决策
-------
每个人都认为管理者做决定,而且决策很重要。决定越大越痛苦,管理者就必须越高级。
这很明显,但事实并非如此。
最重要的是 **避免** 做出决定。尤其是,如果有人告诉你“选择(a)或(b),
我们真的需要你来做决定”,你就是陷入麻烦的管理者。你管理的人比你更了解细节,
所以如果他们来找你做技术决策,你完蛋了。你显然没有能力为他们做这个决定。
(推论:如果你管理的人不比你更了解细节,你也会被搞砸,尽管原因完全不同。
也就是说,你的工作是错的,他们应该管理你的才智)
所以最重要的是 **避免** 做出决定,至少是那些大而痛苦的决定。做一些小的
和非结果性的决定是很好的,并且使您看起来好像知道自己在做什么,所以内核管理者
需要做的是将那些大的和痛苦的决定变成那些没有人真正关心的小事情。
这有助于认识到一个大的决定和一个小的决定之间的关键区别是你是否可以在事后修正
你的决定。任何决定都可以通过始终确保如果你错了(而且你一定会错),你以后总是
可以通过回溯来弥补损失。突然间,你就要做两个无关紧要的决定,一个是错误的,另
一个是正确的。
人们甚至会认为这是真正的领导能力(咳,胡说,咳)。
因此,避免重大决策的关键在于避免做那些无法挽回的事情。不要被引导到一个你无法
逃离的角落。走投无路的老鼠可能很危险——走投无路的管理者真可怜。
事实证明,由于没有人会愚蠢到让内核管理者承担巨大的财政责任,所以通常很容易
回溯。既然你不可能浪费掉你无法偿还的巨额资金,你唯一可以回溯的就是技术决策,
而回溯很容易:只要告诉大家你是个不称职的傻瓜,说对不起,然后撤销你去年让别
人所做的毫无价值的工作。突然间,你一年前做的决定不在是一个重大的决定,因为
它很容易被推翻。
事实证明,有些人对接受这种方法有困难,原因有两个:
- 承认你是个白痴比看起来更难。我们都喜欢保持形象,在公共场合说你错了有时
确实很难。
- 如果有人告诉你,你去年所做的工作终究是不值得的,那么对那些可怜的低级工
Annotation
- Atlas domain: Support Tooling And Documentation / Documentation.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.