Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1310264

Re: Understanding IO architecture

From Jeff Merkey <linux.mdb@gmail.com>
Newsgroups linux.kernel
Subject Re: Understanding IO architecture
Date 2016-01-15 17:40 +0100
Message-ID <qRfzQ-gk-9@gated-at.bofh.it> (permalink)
References <qR8yl-3Yi-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 1/15/16, Mahmood Naderan <mahmood.nt@gmail.com> wrote:
> What is the good starting point to understand linux kernel? I know you
> are going to say Understanding the Linux Kernel, but that is for 2005!
> and kernel 2.6.
>
> We know that currently, the latest version is 4.4 and the version
> number updates quickly. So, where can I find the core of IO
> architecture, page cache, block layer and ... for the most stable
> architecture and not the version number?
>
>
> Regards,
> Mahmood
>

Man, it's huge and linux has evolved into a giant jump table these
days.  I started programming on it in the 2.2 days and it was fairly
sophisticated them.  You could start
with reviewing what's in the /kernel directory.  For I/O study the bio
architecture.  FOr block layer start in drivers/block.

Your best bet is to clone it, get yourself a good kernel debugger to
step through code and explore how things work.

start by cloning it so you have your own copy.  Download and install
git then clone Linus' tree.

git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

Then you can also get the linux-stable tree which has all the stable
versions of Linux

git clone https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

if you need a good kernel debugger, try this one

http://jeffmerkey.github.io

Jeff

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Understanding IO architecture Mahmood Naderan <mahmood.nt@gmail.com> - 2016-01-15 10:10 +0100
  Re: Understanding IO architecture Daniel Baluta <daniel.baluta@gmail.com> - 2016-01-15 11:10 +0100
  Re: Understanding IO architecture Jeff Merkey <linux.mdb@gmail.com> - 2016-01-15 17:40 +0100
    Re: Understanding IO architecture Jeff Merkey <linux.mdb@gmail.com> - 2016-01-15 17:50 +0100
      Re: Understanding IO architecture Mahmood Naderan <mahmood.nt@gmail.com> - 2016-01-15 22:40 +0100
  Re: Understanding IO architecture Jeff Merkey <linux.mdb@gmail.com> - 2016-01-15 17:40 +0100

csiph-web