Re: Linux kernel thread model

2011-06-16 Thread manish honap
- Original Message From: Mulyadi Santosa mulyadi.sant...@gmail.com To: manish honap manish_honap_...@yahoo.co.in Cc: kernelnewbies@kernelnewbies.org Sent: Thu, 16 June, 2011 10:45:36 AM Subject: Re: Linux kernel thread model On Thu, Jun 16, 2011 at 11:39, manish honap

Re:

2011-06-16 Thread Anuz Pratap Singh Tomar
On Thu, Jun 16, 2011 at 12:41 PM, Venkateswarlu P p.venkatesh...@gmail.comwrote: how to understand the kernerl source files in a simple way what header files i have to understand first for example to understand do_fork() function for process creation which is defined in

Getting started with kernel sources [Was: No subject]

2011-06-16 Thread Daniel Baluta
On Thu, Jun 16, 2011 at 2:41 PM, Venkateswarlu P p.venkatesh...@gmail.com wrote: how to understand the kernerl source  files in a simple way what header  files i have to understand first for example  to understand  do_fork() function  for process creation  which is defined in 

Re:

2011-06-16 Thread Javier Martinez Canillas
On Thu, Jun 16, 2011 at 8:41 PM, Venkateswarlu P p.venkatesh...@gmail.com wrote: how to understand the kernerl source  files in a simple way what header  files i have to understand first for example  to understand  do_fork() function  for process creation  which is defined in 

Re:

2011-06-16 Thread Anand Arumugam
@Venkateswarlu: Henceforth, please include a subject in your email. On Thu, Jun 16, 2011 at 7:55 AM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: On Thu, Jun 16, 2011 at 8:41 PM, Venkateswarlu P p.venkatesh...@gmail.com wrote: how to understand the kernerl source  files in a

Re: Linux kernel thread model

2011-06-16 Thread Mulyadi Santosa
On Thu, Jun 16, 2011 at 14:06, manish honap manish_honap_...@yahoo.co.in wrote: How they understand whether kernel part is scheduled or user part is scheduled ? not sure if I got your question correctly, but the one that is scheduled is the process. 1:1 model means for single

Re: Linux kernel thread model

2011-06-16 Thread Dave Hylands
Hi Mulyadi, On Thu, Jun 16, 2011 at 10:37 AM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: On Thu, Jun 16, 2011 at 14:06, manish honap manish_honap_...@yahoo.co.in wrote: How they understand whether kernel part is scheduled or user part is scheduled ? not sure if I got your question

Re: Build scatterlist covering a process' text segment?

2011-06-16 Thread Arvid Brodin
Mulyadi Santosa wrote: Hi... On Sat, May 28, 2011 at 04:58, Arvid Brodin arvid.bro...@enea.com wrote: Ok. And looking at e.g. sg_set_buf(), the scatterlist expects a kernel virtual address (it uses virt_to_page() on its buf parameter internally, which requires a kernel virtual adress, if

just a test

2011-06-16 Thread 研六 福州
Hello, Just a test. Best regards! - 史星星 福建星网锐捷网络有限公司 网研六部 福州市金山大道618号橘园洲星网锐捷科技园26号楼4层 Tel : 15985751253 VOIP: 28053888-3141 - ___ Kernelnewbies

how to write a user space driver?

2011-06-16 Thread 史星星
hello, i want to write a user space driver in linux,how to write? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: how to write a user space driver?

2011-06-16 Thread Adam Lee
On Fri, Jun 17, 2011 at 12:50:51PM +0800, 史星星 wrote: hello,    i want to write a user space driver in linux,how to write? 1, DO NOT SEND SPAM LIKE just a test TO A MAILING LIST. 2, USE TEXT/PLAIN AND UTF-8. 3, LEARN *HOW TO ASK* !!! 4, DO NOT LEAVE A SIGNATURE WITH NON-ASCII (LIKE

Re: how to write a user space driver?

2011-06-16 Thread Shinose
On Fri, Jun 17, 2011 at 10:20 AM, 史星星 xxshi.b...@gmail.com wrote: hello, i want to write a user space driver in linux,how to write? https://www.osadl.org/?id=321 ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: Linux kernel thread model

2011-06-16 Thread Prashant Shah
Hi manish, On Thu, Jun 16, 2011 at 10:09 AM, manish honap manish_honap_...@yahoo.co.in wrote: Hi all Can someone please tell me what is the threading model of linux kernel ? user space thread:kernel thread process - n:1 or m:n or 1:1 Straight from Linux Kernel Development 3rd Edition book...