linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Understanding IO architecture
@ 2016-01-15  9:00 Mahmood Naderan
  2016-01-15 10:07 ` Daniel Baluta
  2016-01-15 16:34 ` Jeff Merkey
  0 siblings, 2 replies; 6+ messages in thread
From: Mahmood Naderan @ 2016-01-15  9:00 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Understanding IO architecture
  2016-01-15  9:00 Understanding IO architecture Mahmood Naderan
@ 2016-01-15 10:07 ` Daniel Baluta
  2016-01-15 16:34 ` Jeff Merkey
  1 sibling, 0 replies; 6+ messages in thread
From: Daniel Baluta @ 2016-01-15 10:07 UTC (permalink / raw)
  To: Mahmood Naderan; +Cc: Linux Kernel Mailing List

On Fri, Jan 15, 2016 at 11:00 AM, 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?

The best book you might find is Professional Linux Kernel architecture [1]
Other than that, read the source code!

thanks,
Daniel.

[1] http://www.amazon.com/Professional-Kernel-Architecture-Wolfgang-Mauerer/dp/0470343435

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Understanding IO architecture
  2016-01-15  9:00 Understanding IO architecture Mahmood Naderan
  2016-01-15 10:07 ` Daniel Baluta
@ 2016-01-15 16:34 ` Jeff Merkey
  2016-01-15 16:35   ` Jeff Merkey
  1 sibling, 1 reply; 6+ messages in thread
From: Jeff Merkey @ 2016-01-15 16:34 UTC (permalink / raw)
  To: Mahmood Naderan; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Understanding IO architecture
  2016-01-15 16:34 ` Jeff Merkey
@ 2016-01-15 16:35   ` Jeff Merkey
  2016-01-15 16:47     ` Jeff Merkey
  0 siblings, 1 reply; 6+ messages in thread
From: Jeff Merkey @ 2016-01-15 16:35 UTC (permalink / raw)
  To: Mahmood Naderan; +Cc: linux-kernel

On 1/15/16, Jeff Merkey <linux.mdb@gmail.com> wrote:
> 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

thats http://jeffmerkey.github.io/linux



>
> Jeff
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Understanding IO architecture
  2016-01-15 16:35   ` Jeff Merkey
@ 2016-01-15 16:47     ` Jeff Merkey
  2016-01-15 21:38       ` Mahmood Naderan
  0 siblings, 1 reply; 6+ messages in thread
From: Jeff Merkey @ 2016-01-15 16:47 UTC (permalink / raw)
  To: Mahmood Naderan; +Cc: linux-kernel

On 1/15/16, Jeff Merkey <linux.mdb@gmail.com> wrote:
> On 1/15/16, Jeff Merkey <linux.mdb@gmail.com> wrote:
>> 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
>
> thats http://jeffmerkey.github.io/linux
>
>
>
>>
>> Jeff
>>
>

If you have questions post them here.  They may get lost in the noise
but if I'm around I'll try to help you.  I know linux fairly well, but
it changes a lot and I do know the areas you asked about and can help
you.

Have fun. Don't get put off by folks seeming to ignore you, people are
just very busy and most of them totally immersed in fixing their own
areas but there are a few of us who will respond to you.

Jeff

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Understanding IO architecture
  2016-01-15 16:47     ` Jeff Merkey
@ 2016-01-15 21:38       ` Mahmood Naderan
  0 siblings, 0 replies; 6+ messages in thread
From: Mahmood Naderan @ 2016-01-15 21:38 UTC (permalink / raw)
  To: Jeff Merkey; +Cc: linux-kernel, Daniel Baluta

>if you need a good kernel debugger, try this one
> http://jeffmerkey.github.io/linux
>If you have questions post them here.  They may get lost in the noise
>but if I'm around I'll try to help you.  I know linux fairly well, but
>it changes a lot and I do know the areas you asked about and can help
>you.

OK thank you very much. I read the Oreily's book but I thought some
of the functions may have changed in recent versions. So, instead of
greping to see what is what, I asked the question to become sure.

Thanks again.

Regards,
Mahmood

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-01-15 21:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-15  9:00 Understanding IO architecture Mahmood Naderan
2016-01-15 10:07 ` Daniel Baluta
2016-01-15 16:34 ` Jeff Merkey
2016-01-15 16:35   ` Jeff Merkey
2016-01-15 16:47     ` Jeff Merkey
2016-01-15 21:38       ` Mahmood Naderan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).