泰晓资讯 10月 / 第 3 期 / 2019 —— 资讯收集
Closed this issue · 6 comments
Why printk() is so complicated (and how to fix it)
The kernel's printk()
function seems like it should be relatively simple; all it does is format a string and output it to the kernel logs. That simplicity hides a lot of underlying complexity, though, and that complexity is why kernel developers are still unhappy with printk()
after 28 years. At the 2019 Linux Plumbers Conference, John Ogness explained where the complexity in printk()
comes from and what is being done to improve the situation.
在普通人想象中,内核的 printk()
函数应该是个非常简单的函数,只要处理好字符串格式化然后输出到内核的日志里就好。但实际上这里面隐藏着非常多的问题。从使用上来看,该函数的实现既不能干扰系统的正常运行,本身又要足够的可靠;而且由于内核l代码在各种上下文环境下都会调用这个函数,所以它的底层逻辑跟系统的方方面面都会纠缠在一起,实现起来特别复杂。28 年过去了,内核l开发者对 printk()
仍然非常不满意。在 2019 Linux Plumbers 会议上,John Ogness 介绍了printk()
的发展史、实现该函数的复杂性之所在,以及近期与改进这个函数相关的工作进展。更多细节可以阅读 “原文”
The input stack for Linux is an essential part of interacting with our systems, but it is also an area that is lacking in terms of developers. There has been progress over the last few years, however; Peter Hutterer from Red Hat came to the 2019 X.Org Developers Conference to talk about some of the work that has been done. He gave a status report on the input stack that covered development work that is going on now as well as things that have been completed in the last two years or so. Overall, things are looking pretty good for input on Linux, though the "bus factor" for the stack is alarmingly low.
输入子系统 (input stack)是系统基本交互功能的基础,这个领域其实一直很缺乏开发者。过去几年的工作进展有不少。Red Hat 的 Peter Hutterer 在 2019 X.Org 开发者大会上介绍了该领域近期完成的一些工作,包括仍在进行的功能开发和过去 2 年左右已经完成的功能。总体来说,Linux 的输入子系统状况看起来还不错,但这一部分的维护者数量太少了。
据他介绍,高精度的鼠标滚轮滚动(High-resolution mouse scrolling)支持大概会在接下来一两个月里加入Linux,从而让支持高精度滚轮功能的设备来提供鼠标滚轮的更高精度检测。
Hutterer 介绍了一些有关 libinput (输入子系统库)的开发进展(包括 "libinput quirks"),以及针对 libinput 增加在用户态模拟 input device 的工作,这么做的目的是为了简化对 libinput 库的测试。
更多介绍参考
GNU Project Developers Debate A Restructuring As A “Bottom Up” Organization
继前些日子 Richard Stallman 表示辞去 FSF 主席职务后,他近日在 GNU 邮件列表中发表了一份简短的声明,表示对于 GNU 项目来说,其目标,原则和政策暂不会有任何大的变化。 "I would like to make incremental changes in how some decisions are made, because I won't be here forever and we need to ready others to make GNU Project decisions when I can no longer do so. But these won't lead to unbounded or radical changes."
这意味着 Richard Stallman 仍将继续在 GNU 项目中担任领导职位。但与此同时,部分 GNU 开发人员对其继续该项目负责人感到不满,他们希望采取 “自下而上” 的方式对GNU 进行重组,使那些活跃的开发人员和志愿者可以参与其中,并拥有更多的发言权。
Databricks Brings Its Delta Lake Project To The Linux Foundation
https://techcrunch.com/2019/10/15/databricks-brings-its-delta-lake-open-source-project-to-the-linux-foundation/
Databricks, the big data analytics service founded by the original developers of Apache Spark, today announced that it is bringing its Delta Lake open-source project for building data lakes to the Linux Foundation and under an open governance model. The company announced the launch of Delta Lake earlier this year and even though it’s still a relatively new project, it has already been adopted by many organizations and has found backing from companies like Intel, Alibaba and Booz Allen Hamilton.
由原 Apache Spark 开发人员创建的大数据分析服务公司 Databricks 今日宣布,为了贯彻开放理念,该公司将其用于构建数据湖(data lakes)的 Delta Lake 开源项目贡献给 Linux 基金会。 该公司于今年早些时候宣布启动 Delta Lake 项目,尽管它仍是一个相对较新的项目,但已被许多组织采用,并得到了英特尔,阿里巴巴和布兹·艾伦·汉密尔顿等公司的支持。
Linux Kernel Patch Hints That Intel’s 10nm Desktop CPUs Are Coming
The Linux kernel patch was spotted by chip info leaker @KOMANCHI_ENSAKA on Twitter, with the patch having been signed off by an Intel senior graphics software engineer Kan Liang. This is by no means conclusive evidence that 10nm desktop parts are on their way. However, it does suggest that rumours of Intel skipping the 10nm process node for its desktop CPUs to pursue a 7nm fabrication process instead are not accurate; in fact, an Intel spokesperson also told us that such rumours were piffle.
KOMANCHI_ENSAKA 在 Twitter 上爆料,他发现了一个由英特尔高级图形软件工程师 Kan Liang 签名提交的 Linux 内核补丁,从该补丁的内容可以确凿地证明基于 10nm 工艺的处理器芯片即将上市。 同时这也表明,以前传言英特尔会跳过 10纳米制程,直接采用 7nm 制程是不正确的; 实际上,英特尔发言人也明确地告诉过我们,这种谣言都是胡说八道。