歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux綜合 >> 學習Linux

Torvalds say “I’m sorry …”

Torvalds say “I’m sorry …”

Torvalds say “I’m sorry …”


導讀Linus Torvalds 在10月3日發布了Linux 4.8的正式版,在正式發布前他接受了 Andrew Morton 發來的補丁,補丁的目的是修復一個自3.15以來就存在的bug,然而它卻導致了比原bug更嚴重的問題。

Torvalds say “I’m sorry …”Torvalds say “I’m sorry …”

他在內核郵件列表上對此道歉,稱他對 Andrew的補丁本有很高的期望,認為他肯定對遞交的補丁進行了充分的測試,但在代碼中加入隨機的 BUG_ON()意味著測試不夠。他在2002年曾經強烈批評過使用BUG_ON()調試bug的方法,但同樣的事情卻在將近15年後再次發生了。

郵件部分內容如下:

I'm really sorry I applied that last series from Andrew just before doing the 4.8 release, because they cause problems, and now it is in 4.8 (and that buggy crap is marked for stable too).

In particular, I just got this kernel BUG at ./include/linux/swap.h:276 and the end result was a dead kernel.The bug that commit 22f2ac51b6d64 ("mm: workingset: fix crash in shadow node shrinker caused by replace_page_cache_page()") purports to have fixed has apparently been there since 3.15, but the fix is clearly worse than the bug it tried to fix, since that original bug has never killed my machine!

I should have reacted to the damn added BUG_ON() lines. I suspect I will have to finally just remove the idiotic BUG_ON() concept once and for all, because there is NO F*CKING EXCUSE to knowingly kill the kernel.

原文來自:https://www.oschina.net/news/77805/linus-torvalds-apologize-for-the-bug-of-linux-kernel-4-8

本文地址:http://www.linuxprobe.com/torvalds-say-im-sorry.html


http://xxxxxx/Linuxjc/1184583.html TechArticle

Copyright © Linux教程網 All Rights Reserved