Re: Queries on bottom halves

2018-09-02 Thread Larry Chen
Hi Abhinav, On 09/02/2018 11:28 PM, Abhinav Misra wrote: Hi Larry, Based on your answers below are my further queries. 1. *Does softirq and tasklet will always runs in ksoftirqd thread context ?* As it is mentioned in the LKD (by robert love Pg-138) that there are multiple places where pendin

Re: Queries on bottom halves

2018-09-02 Thread Larry Chen
Hello Abhinav, On 09/01/2018 04:05 PM, Abhinav Misra wrote: Hi, Sorry for the delay in the reply. I think the question is not correctly framed. Will try to do it again. 1. Which stack does the tasklet, softriq and workqueue use for their execution ? Softirq actually is a group of N kernel

Re: What will happen if I kill a process which is waiting for the retuan ioctl() syscall?

2018-03-13 Thread Larry Chen
Hello Douglas, On 03/13/2018 07:56 PM, Douglas Su wrote: If I have these: 1. I have implemented a simple ioctl() system call which just delay a period and return. 2. Call this ioctl() from a userspace process, of course, this process will be blocked until ioctl() return. 3. Before ioctl() ret

Re: Linux Kernel contains only C code?

2018-01-25 Thread Larry Chen
Hi Sekar, Hi all, ... 1. May i know, other than C language, is there any other programming language is/are used inside Linux Kernel?!?! is there any c++, Perl, python programs are used for peculiar tasks inside Linux Kernel?!?! I have never seen c++, perl or python code in kernel source tree.

Re: wiki & email upgrades

2018-01-04 Thread Larry Chen
On 01/02/2018 02:44 AM, Rik van Riel wrote: Hello, As you may have noticed (if you weren't too busy celebrating the holidays), I have upgraded kernelnewbies.org to a new version of the wiki, and am also upgrading the email system. This email is both an announcement, and a test of the new emai

Re: ReviewRequest of a booklet on System Concepts

2017-12-25 Thread Larry Chen
Hi Rishi, Really great docs on glibc !!! I'm willing to read them all. Thanks, Larry Chen On 12/26/2017 12:50 PM, Rishi Agrawal wrote: Hi All, I have written this booklet http://sys.readthedocs.io/en/latest/ explaining some concepts related to "glibc and system calls ". This