Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

The Interactive Linux Kernel Map

Posted by timothy on Sat Jun 28, 2008 07:05 PM
from the visualization-to-the-nth-degree dept.
Constantine writes "The Linux kernel is one of most complex open source projects. Even though there are a lot of books on the Linux kernel, it is still a difficult subject to comprehend. The interactive Linux kernel map gives you a top-down view of the kernel. You can see the most important layers, functionalities, modules, functions, and calls. Each function on the map is a link to its source code. The map is interactive. You can zoom in and drag around to see details."
+ -
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Fools! (Score:5, Funny)

    by Anonymous Coward on Saturday June 28 2008, @07:16PM (#23985775)

    Now the terrorists will know where to strike us!

  • After looking at all that, am I the only one who is sorta taken by how complicated it is, and under the impression I am looking at the various complications of the Borg collective Consciousness?

    (Before anyone makes the Bill Gates of Borg jokes, I have friends who say that really Microsoft is much more like the Jem'Hadar than the Borg. They don't really assimilate, they just show up with guns and take what they want.

    • Ewww...Star Trek references...too nerdy for me. Oh crap, I mean, how did I know it was a reference to Star Trek? Oh yeah, my nerdy brother watches that. Yep, that's it.
      • by MachDelta (704883) on Saturday June 28 2008, @08:52PM (#23986383)

        After looking at all that, am I the only one who is sorta taken by how complicated it is, and under the impression I am looking at the various complications of a four barrel carburetor?

        (Before anyone makes the "Big Three" jokes, I have friends who say that really GM/DC/Ford are much more like the Hells Angels than a pack of Greasers. They don't really sit around at Arnold's diner, they just show up with guns and take what they want.

        Fixed... I think. We still use car analogies here at Slashdot, right??

    • Re: (Score:3, Informative)

      Or perhaps the crafty .. Pakleds (http://en.wikipedia.org/wiki/Pakled)
    • It's not the Bork, errr, Borg. It's structured by patient observers, which means it's based around the Gallifreyan Houses. There are even the right number of columns. Microsoft are more like the Daleks - stealing what they can use, exterminating the rest.
  • What a farce (Score:4, Informative)

    by frovingslosh (582462) on Saturday June 28 2008, @07:22PM (#23985815)
    I've worked on several different OS's and learned their internals intimately. Although I have used Linux a moderate amount I have no such understanding of the internal Linux architecture, so this slashdot post caught my interest. However, I RTFA, such as it is, but come away only with the belief that this is a further effort to make the OS look much more obscure and cryptic than any OS actually is. If anyone really learns much about the Linux OS from this thing I would be amazed.
    • All I get from it is more of a basic feeling on the structure. How things fir together. Although it's interesting to see it's a fully populated grid. Usually things don't evolve over time to reach such symmetry and consistency.

    • Re:What a farce (Score:5, Insightful)

      by warrior_s (881715) * <kindle3@@@gmail...com> on Saturday June 28 2008, @07:33PM (#23985889) Homepage Journal
      No one will try to learn linux from this map. I think of it as a quick guide to see how the control passes from one function to other within the kernel. E.g., if you want to trace how a network packet is transferred from one function to the other, just start from the bottom of the networking portion (device drivers) and follow it to the top (socket call).
      This will help those who already have a basic understanding of the linux kernel and are trying to find something quickly.

      Oh and it looks cool too :).
    • Re:What a farce (Score:5, Insightful)

      by mrbluze (1034940) on Saturday June 28 2008, @07:50PM (#23985999) Journal

      However, I RTFA, such as it is, but come away only with the belief that this is a further effort to make the OS look much more obscure and cryptic than any OS actually is.

      I don't do much OS level programming at all, but I would say this diagram is very useful. If I just, for example, want to get a sketchy idea of how networking is arranged in the kernel and where to look for dependencies and so forth, then it's a good start.

      It's not the best diagram I've ever seen but it's something that does make for a good page to have open during the planning stages of a project that integrates with the OS at multiple levels.

      If anyone really learns much about the Linux OS from this thing I would be amazed.

      If you click on an area it quickly takes you to relevant stuff to read. I think, spending a few hours with this, one could learn quite a lot about the system and get an idea from which end to tackle a problem. But of course it's no substitute for a book.

  • because I want pain (Score:5, Interesting)

    by v1 (525388) on Saturday June 28 2008, @07:29PM (#23985869) Homepage Journal

    Someone has to ask it, and I have to admit I'm more curious about it than this. I want to see something similar to this for Windows or OS X, to compare with. Not down to the code level. (I did go trolling around in the code reading some comments, interesting stuff) but at least to see the difference in how things are laid out by comparison.

    Surely there are a few that have poked around in those two systems enough to give us a rough fleshing out of the internal structure?

  • by belmolis (702863) <billposer.alum@mit@edu> on Saturday June 28 2008, @07:56PM (#23986031) Homepage

    I assume that this isn't manually built. How is it generated? Is the software available for use with other programs?

  • Wow. (Score:5, Interesting)

    by smitty_one_each (243267) * on Saturday June 28 2008, @08:24PM (#23986207) Homepage Journal
    Couple of points:
    • It would be cool to see an animation of the kernel boot, starting from GRUB lifting the image into ram, all the way to run time.
    • It would be cool to see an animation of a key press push an ASCII character code all the way through to user space, and then
    • the saving of a file out to a hard disk
    • A network packet going through would also be instructive.

    May fortune shine on these efforts to flatten out the learning curve.

  • by ndnspongebob (942859) on Saturday June 28 2008, @11:12PM (#23987183)
    For a person that learns visually, a map like this is biggest gift any opensource community has given me. If only everything could have a map, then atleast people can explore and learn at their own pace in a much easier way.
    • by KasperMeerts (1305097) on Saturday June 28 2008, @08:02PM (#23986069)

      The overall user experience sucks at best. Go ahead and flame me.

      Allright I will. I'm surprised you people still exist and even more surprised you still dare posting such nonsense on /. .
      The user experience of the desktop-geared distributions matches OS X and even transcends it a lot of times.

      And saying it's hard to install makes no sense. OS X is preinstalled and can only be installed on a very, very limited number of computers. You can't just compare them. OS X is not 'better' at installing, it's just out of category. And Linux still does a lot better than Windows in terms of hardware compatibility.

      • And Linux still does a lot better than Windows in terms of hardware compatibility.

        While on your side in your flame, I'm going to have to disagree with you on this one. Ignoring Vista for one minute with its compulsory driver signing, etc., XP has a remarkably good support for hardware because...all mass-market vendors will necessarily write drivers for Windows, but not for Linux. I've been using Linux for 10+ years, since the days when Slackware was the most "user-friendly", and until Ubuntu 8.04, I was st

    • Seems to be variable. I had absolutely no problems installing FC6, 7 and Fedora 8 and 9. Just pop the CD in and go. I'm not saying these install problems don't exist, I've just never seen them.
    • Re:those books... (Score:4, Informative)

      by pipatron (966506) <pipatron@gmail.com> on Saturday June 28 2008, @08:22PM (#23986199) Homepage
      No, you don't "wonder". You assume that it's illegal to share, and apparently you want the rest of us to do so as well. If you would have been curious, you could easily have clicked on the books and found out that they are all free to share, like information should be.
      • by CaptainTux (658655) on Saturday June 28 2008, @11:08PM (#23987167) Homepage Journal
        The Linux developers are selfish dickheads who have exactly the same monopolistic mindset as Microsoft -- who also signs NDAs with vendors.

        Can you point to some of these NDA's you speak of? Because, I have to wonder how you can have an NDA on something that anyone can go to your website and download the source code for.

        • Re: (Score:3, Informative)

          I don't know of any examples, but it isn't unheard of where Linux developers sign an NDA with a company to get documentation in order to write an open driver. The company allows the code to be disclosed, but not the documents that were used to develop the code.