Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux Kernel 4.20: Crocodiles, STIBP, and Hugs

#1
Linux Kernel 4.20: Crocodiles, STIBP, and Hugs

<div style="margin: 5px 5% 10px 5%;"><img src="http://www.sickgaming.net/blog/wp-content/uploads/2018/12/linux-kernel-4-20-crocodiles-stibp-and-hugs.jpg" width="1913" height="1031" title="" alt="" /></div><div><div><img src="http://www.sickgaming.net/blog/wp-content/uploads/2018/12/linux-kernel-4-20-crocodiles-stibp-and-hugs.jpg" class="ff-og-image-inserted" /></div>
<p>Linus Torvalds unleashed kernel 4.20, dubbed <a href="https://www.phoronix.com/scan.php?page=news_item&amp;px=Linux-4.20-RC4-Released">Shy Crocodile</a>, on the world this past Sunday. There was speculation whether Torvalds would make the jump from 4.19 to 5.0, as he did when he skipped 3.20 and went with 4.0 instead. In the end, he stuck with 4.20, and 5.0 will probably be the number of the next kernel after this one.</p>
<p>Apart from all that, probably the largest will-he-won’t-he debate revolved around STIBP. STIBP stands for <i>Single Thread Indirect Branch Predictors,</i> and that mouthful is a preventive measure against the Spectre/Meltdown bugs. When STIBP was tried out during the 4.19 cycle, developers ended up removing it because it was found to have a negative impact on system performance, slowing down execution of some processes up to 50%. The matter was the <a href="http://lkml.iu.edu/hypermail/linux/kernel/1811.2/index.html#01328">subject of a long discussion on the Linux Kernel mailing list</a>, with some developers <a href="http://lkml.iu.edu/hypermail/linux/kernel/1811.2/01383.html">like Andi Kleen</a> arguing that the patch should be reverted entirely. Torvalds, however, pointed out there was a <a href="http://lkml.iu.edu/hypermail/linux/kernel/1811.2/01328.html">mid-way solution</a>: “<i>[W]e default to something that doesn’t kill performance. Warn once about it, and let the crazy people say «I’d rather take a 50% performance hit than worry about a theoretical issue»</i>“.</p>
<p>After much work, <a href="https://www.tomshardware.com/news/stibp-fixes-restore-linux-performance,38148.html">STIBP is back in 4.20</a>, but with performance improvements and allowing processes to choose whether they need to use it or not, because, as it turns out, many don’t.</p>
<h3>What the hug?</h3>
<p>On what should be a lighter note, but will probably spark outrage anyway (because reasons), Jarkko Sakkinen has taken on himself the thankless job of writing a patch that will cleanse the source code comments of swear words. Instead of just nuking them, <a href="https://lists.freedesktop.org/archives/dri-devel/2018-November/198581.html">the patch changes f-bombs for “hugs”</a>. Hence, expressions become “Get the hug out!”, which implies you have your own personal cache of hugs and you are required to extract and spend one; and “Hug off!”, which must be some kind of endurance event.</p>
<p>Before anybody gets all hot under the collar, it is worth noting that, (a) Sakkinen’s solution is hilarious; and (b) no more reasons should be necessary, but here’s one anyway: such colorful language probably shouldn’t be in code that is easily readable by everyone and that is deployed all over the world to millions of people and businesses. Better reserve cussing for audiences which are more appreciative of the genre, namely Twitter followers and such.</p>
<h3>More things to look forward to in Linux 4.20</h3>
<ul>
<li>The open-source NVIDIA Nouveau driver has now got initial HDMI 2.0 support. HDMI 2.0 is what you are going to need to watch movies or play games on 4K displays at 60FPS, since it affords a much larger bandwidth than the currently more common HDMI 1.4 protocol.</li>
<li>Chinese sysadmins will be happy to know that Linux 4.20 supports Hygon Dhyana CPUs. These CPU’s are based on AMD’s Zen microarchitecture and are the result of an AMD-Chinese joint venture that aims to bring domestic x86 chips to data centers.</li>
<li>In more playful news, Linux 4.20 supports the Xbox’s S Controller’s rumbling (meaning it vibrates for added excitement (?) during game play), and there is a working driver for Apple’s Magic Trackpad.</li>
</ul>
<p>As always, you can find more information about Linux 4.20 by going to the <a href="https://lkml.org/lkml/2018/12/23/187">source announcement on the Linux Kernel mailing list</a>, checking out the <a href="https://www.phoronix.com/scan.php?page=article&amp;item=linux-420-features&amp;num=1">in-depth</a> <a href="https://www.phoronix.com/scan.php?page=search&amp;q=Linux+4.20">articles</a> at Phoronix and by reading <a href="https://kernelnewbies.org/Linux_4.20">the Kernel Newbies report</a>.</p>
</div>
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016