Kernel thread scheduling

Ruben Safir ruben at
Thu Apr 9 21:51:30 EDT 2015

It is passover so I've read over much of this text, but I have to say
that in general, I'm way ahead of this book.  Although I have limited
knowledge of Kernel technology in the specific, the C code, data
structs, and programming concepts are spoon feed in this text and its
wasting too much time with words that are more easily explained with
coding examples and UML charts.  I don't need a chapter explaining how
to use ps and the basis of Unix architecture.  This text is targeted to
a different audience, and FWIW, I'm not certain it does a good job of
that either.  The guys who write these texts fall in love with their own
voices.  I know, I've suffered this disease myself when I've written
tech articles and books.

I can''t recommend this book to anyone.  Anyone who doesn't understand
the basics of I/O processer blocks is not going to understand

static void update_curr(struct cfs_rq *cfs_rq)

and OTOH void update_curr(struct cfs_rq *cfs_rq) is not explained well
enough for coders unfamiliar with the kernel data structs of which BTW
struct cfs_rq is not one defined in the text.


I'm looking for something more like this, but flushed out more as a textbook,
and some mentoring, I hope.


On 03/22/2015 08:35 PM, nick wrote:
> On 2015-03-22 08:05 PM, Ruben Safir wrote:
>> On 03/22/2015 07:30 PM, nick wrote:
>>> I would recommend reading Chapters 3 and  4 of Linux Kernel Development by Robert Love
>>> as when I was learning the scheduler and process management
>> how much has the scheduler changed since then.  It was completely
>> overhauled when the CFS was created
> The 3rd edition of this book was written after CFS was in the kernel so the chapters
> are pretty up to date.
> Nick
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at
> .

More information about the Kernelnewbies mailing list