The one-millionth commit: The search for the lucky Linux kernel contributor
The Linux Foundation | 30 September 2020
This week has been āa week of millionsā for the Linux Foundation, with our announcement that over 1 million people have taken our free Introduction to Linux course. As part of the research for our recently published 2020 Linux Kernel History Report, the Kernel Project itself determined that it had surpassed one million code commits. Here is how we established the identity of this lucky Kernel Project contributor.
Methodology:
The historical repo of BitKeeper (converted to Git) has 63,428 commits. We then found the merge at which Linus Torvaldsā repo has at least 936,572 commits (his repo has at least this many commits).
At commit 92c59e126b21fd212195358a0d296e787e444087 the repo had 936,456 commits (116 shy of the million)
>git checkout 92c59e126b21fd212195358a0d296e787e444087 >git log --oneline | wc 936456 7483489 62991540
The next merge 2f3fbfdaf77f3ac417d0511fac221f76af79f6fc passed that number, with 937,105
> git checkout 2f3fbfdaf77f3ac417d0511fac221f76af79f6fc > git log --oneline | wc 937105 7489456 63037625
So on merge 2f3fbfdaf77f3ac417d0511fac221f76af79f6fc Linusā repo passed the 1M mark (to be precise, 1,000,533 including BitKeeper commits):
commit 2f3fbfdaf77f3ac417d0511fac221f76af79f6fc 92c59e126b21fd212195358a0d296e787e444087 f510ca05271b6f71bd532fe743b39f628110223f (HEAD) Merge: 92c59e126b21 f510ca05271b Author: Linus Torvalds <torvalds@linux-foundation.org> Date: Mon Aug 3 19:19:34 2020 -0700 Merge tag 'arm-dt-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
At this point, we can simply list the 936,572nd commit in the log:
>git log --oneline | tail -936572 | head -1 85b23fbc7d88 x86/cpufeatures: Add enumeration for SERIALIZE instruction
And the committer isā¦
git log -1 85b23fbc7d88 commit 85b23fbc7d88f8c6e3951721802d7845bc39663d Author: Ricardo Neri <ricardo.neri-calderon@linux.intel.com> Date: Sun Jul 26 21:31:29 2020 -0700 x86/cpufeatures: Add enumeration for SERIALIZE instruction
Ricardoās momentous commit to the Kernel was to add enumeration support for the SERIALIZE instruction, supported in Intelās forthcoming Sapphire Rapids and Alder Lake microarchitectures for their 10-nanometer server and workstation chips. Ricardo is a software engineer who has been working on Linux feature support for Intelās microprocessors for 12 years as part of the companyās CPU enabling team.
For more about Intel Corporationās Ricardo Neri, the one-millionth Linux Kernel code committer, please read and watch our interview, conducted by Swapnil Bhartiya on Linux.com.
Similar Articles
Browse Categories
2023 Compliance and Security Cloud Computing Projects Linux How-To Open Source Diversity & Inclusion Open Source Best Practices 2022 LF Research Training and Certification 2024 Cross Technology Linux Foundation Newsletter Blog LFX Research software development AI Legal Topic: Data Cloud Native Computing Foundation Linux Networking and Edge cybersecurity Announcements Data Governance LF Energy Open Mainframe Open Models OpenChain System Administration Topic: Security Topic: Sustainability confidential computing challenges eBPF generative AI human capital kernel lf blog license compliance maintainer openssf tech talent techtalentsurvey