|
|
Log in / Subscribe / Register

An unexpected perf feature

An unexpected perf feature

Posted May 21, 2013 23:45 UTC (Tue) by gerdesj (subscriber, #5446)
Parent article: An unexpected perf feature

>> This is a fairly nasty hole in the kernel

Or perhaps a fairly nasty hole in a subsystem within the kernel which you may or may not be using.

For a laugh (I'm back in a hotel having fixed a knackered RHEL box quicker than anticipated) I ran that sheep.c code on my laptop. I'm no C expert but after a read through it looked innocuous enough apart from the job it has to do.

It died badly and a quick play with strace showed why.

Yes: It was bloody Gentoo not forcing me to enable every possible feature that I may never use. Bloody non Enterprise ready OS distros.

Cheers
Jon

PS Actually a temporary KVM on my laptop with a basic copy of the host FS to play with.

PPS Must get around to looking into perf - perhaps I'll start installing it and the kernel bits when I need it.


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds