他在內核郵件列表上對此道歉,稱他對 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