華爲在 Linux Kernel 5.10 中代碼貢獻排名第一

{"type":"doc","content":[{"type":"blockquote","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"The presence of Huawei at the top of the \"by changesets\" column may be a bit of a surprise, though something similar happened in 5.8. 94 developers working for Huawei who contributed at least one patch to 5.10. Huawei has built up a significant kernel-development operation. Beyond that, these results are mostly as one would expect. "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"—— 自由軟件媒體 LWN.net"}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Linux Kernel 5.10 代碼貢獻,華爲排名第一"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/a2\/a8\/a2dae1355f0ed7373aee0ff418d207a8.jpeg","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"在 Linux Kernel 5.10(下文簡稱“5.10 版本”)版本中,華爲提交的補丁數量爲1434個,佔比8.9%,內核代碼貢獻排名第一,代碼修改41049行,佔比5.3%,代碼修改行排名第二,自動內核缺陷發現機器人 HULK Robot 在內核 Bug 發現榜單上排名第二,發現了 15% 的內核 Bug。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/18\/bf\/18512a0c7f4331a482f8fa6b22fa60bf.jpeg","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/c4\/71\/c4ff3b49658bcff5978e6f1455f99a71.jpeg","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"在 5.10 版本,華爲的貢獻主要在 ARM64 架構、ACPI、內存管理、文件系統、Media、內核文檔以及海思芯片支持等方面。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"bulletedlist","content":[{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"在 ARM64 架構方面,增強了 ARM64 64K 頁下的 RAID5 支持,寫性能提升6倍,減少 stripe_head 75% 的內存使用量。支持 per-NUMA  的 CMA,提升性能;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"在ACPI子系統方面,支持異構設備呈現爲 NUMA 節點,以及 ACPI DFX 重構準備;內存管理優化了 slub free 的 slowpath,提升性能。"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"在文件系統上,F2FS 支持基於 Age-Threshold 垃圾回收\/支持擴展的純內存日誌頭管理以及 swap 分區加載提速優化,性能提升40倍。Mauro 作爲文檔和 Media 子系統的 Maintainer,做了大量 Media 以及文檔改進工作,爲內核文檔直接生成 PDF 做了大量準備。"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"在海思芯片支持方面,新增了鯤鵬處理器以及 Hikey970 多個驅動支持以及驅動增強。"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"除了特性,華爲的工程師針對整個內核貢獻了大量質量加固的 bugfix,及代碼重構,增強了整個內核的質量。"}]}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"開發者貢獻榜單中的新面孔"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"來自華爲德國研究所的 Mauro 在 Media,內核文檔和 hikey 驅動子系統做了很多的貢獻。除了 Mauro 此外,還有 94 個來自華爲的開發者給 5.10 版本做貢獻。"}]},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/bf\/8c\/bfb9f56952058ab6e0d9dc83b3a8da8c.jpeg","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":"center","origin":null},"content":[{"type":"text","text":"在貢獻開發者榜前20的榜單中,有三名華爲的工程師"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"在貢獻開發者榜單中,除了一些經常看到的大佬外,還有新面孔。例如來自華爲 OS 內核實驗室的繆晴朗。"}]},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/28\/c6\/2805abd8f787d0646a037f9a7e5d8ec6.jpeg","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":"center","origin":null},"content":[{"type":"text","text":"華爲 OS 內核實驗室工程師繆晴朗"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"“對我自身而言,投入開源是自己的部分工作,亦是興趣所在。作爲從浙大畢業不到兩年,投身於內核開發的新人,很榮幸自己登上了 5.10 版本的補丁貢獻前 20 的榜單”"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"每個人都對自己的代碼被合入 Linux Kernel 記憶猶新。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"“我始終記着收到第一封社區回覆時的激動,每天早上來公司打開郵箱前的期待,以及更多的每次補丁被接收時的暗喜與被認同感。而與社區的交流也在幫助我持續提升開發能力和對內核的理解。”"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","marks":[{"type":"strong"}],"text":"Linux Kernel 的重要性"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"我們所說的 Linux 全稱是 GNU\/Linux,這是由自由軟件基金會的定義的。Linux 原本指的只有一個 Linux Kernel。從技術上說,Linux 只是一個符合 POSIX 標準的內核。它提供了一套應用程序接口(API),通過接口用戶程序能與內核及硬件交互。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"對於開發者來說,Linux Kernel 中包含最底層的操作系統邏輯,同時 Linux Kernel 作爲硬件和軟件的通道,一些硬件功能必須要在 Kernel 層面做支持,硬件才能正常的運行,要發揮出硬件的極致性能,還要在Kernel層面的軟件上做調優。所以掌握 Linux Kernel 的代碼,,其重要性可見一斑。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"但在 LWN.net 的文章中,有這樣的一段話:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"blockquote","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"A total of 1,971 developers contributed to 5.10 — again, just short of the record set by 5.8. Of those developers, 252 (just under 13%) made their first contribution in 5.10; that is the lowest number seen since 5.6"}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"華爲自2012年以來向 Linux Kernel 社區貢獻第一個補丁以來,8年來不斷增加對 Linux Kernel 社區的投入,從1個補丁1個開發者參與到1434個補丁95個開發者參與,從0個 Maintainer 到26個 Maintainer。在代碼貢獻上,華爲除了代碼日常維護,Bug修復外,還將在 Linux 服務器操作系統領域中發現的新特性貢獻給 Linux Kernel 社區。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"華爲一直在遵循“奉獻”“開放”的開源精神。通過切切實實的行動,解決一些 Linux Kernel 社區目前存在的問題,歡迎更多的開發者加入到 Linux Kernel 社區當中,讓這個彙集了全球開發者智慧的 Linux Kernel 更加的枝繁葉茂。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"華爲除了在 Linux Kernel 上不斷貢獻,還在其主導開源的 openEuler 社區中做着新的探索。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"在剛剛發佈的 openEuler 20.03 LTS SP1 版本中,openEuler 社區將 openEuler 20.09 創新版中的特性加入到 openEuler 20.03 LTS SP1 中,歡迎大家下載體驗。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"strong"}],"text":"Release Notes:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"https:\/\/openeuler.org\/zh\/news\/20201228.html"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"strong"}],"text":"下載鏈接:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"https:\/\/repo.openeuler.org\/openEuler-20.03-LTS-SP1\/"}]}]}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章