From mboxrd@z Thu Jan 1 00:00:00 1970 From: ruben@mrbrklyn.com (Ruben Safir) Date: Thu, 09 Apr 2015 21:51:30 -0400 Subject: Kernel thread scheduling In-Reply-To: <550F5FDD.7090602@gmail.com> References: <20150320231955.GA5713@vinc94-desktop> <4E5779AD88B2F040B8A7E83ECF544D1A5C7240@SJCPEX01CL03.citrite.net> <508921156.2279151.1426919611846.JavaMail.yahoo@mail.yahoo.com> <20150322231449.GA3235@vinc94-desktop> <550F509A.9030207@gmail.com> <550F58E3.1080500@mrbrklyn.com> <550F5FDD.7090602@gmail.com> Message-ID: <55272CA2.2090603@mrbrklyn.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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 http://www.ibm.com/developerworks/library/l-completely-fair-scheduler/index.html, and some mentoring, I hope. Ruben 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.org >> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies >> > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > . >