Re: About daemon

2007-10-27 Thread amol verule
hi to all.. i also would like to know about PID 0 (Swapper process) because i am using 2.6.21 kernel in that if i al running #ps -ae or #ps -aux then also pid 0 process is not showing in list of process.is swapper process not available in 2.6 kernel? if it is present then how to

scatterlist.h and defining sg_dma_len and sg_dma_address

2007-10-27 Thread Robert P. J. Day
i'm perusing the various scatterlist.h header files, and i can see where almost all arches define the convenience macros: #define sg_dma_address(sg) ((sg)-dma_address) #define sg_dma_len(sg) ((sg)-dma_length) but i just noticed the h8300 arch doesn't in *its* header file: ...

Re: System-global flag on an x86

2007-10-27 Thread Mulyadi Santosa
Hi... No, because that would only turn the flag on inside the kernel. I need it on before the system call starts executing. My quick'n'dirty hack is to user the FPU control word. It is accessible from user mode, very cheap to read and write, globally enforced, and doesn't seem to be causing

Re: Recommendation for a dev system

2007-10-27 Thread Mulyadi Santosa
Hi.. Hello, I'm pretty new to kernel development and would like to setup a ideal dev system for playing around. I highly recommend Qemu. UML is nice, but you can consider itself as another architecture i.e some low level functions are different from the real i386/x86-64 ones. Qemu

Re: Re: free a slab object

2007-10-27 Thread Mulyadi Santosa
Hi... Maybe your explanation is reasonable. But I still can not understand why it put the last free object forward as the first and the current released object as the second? Is it redundant? Oh no, that's not what I meant. Current released object number is assigned to the slab's free

Re: Recommendation for a dev system

2007-10-27 Thread Pavan Kandepet
Thanks for all the replies. -Pavan On 10/27/07, Mulyadi Santosa [EMAIL PROTECTED] wrote: Hi.. Hello, I'm pretty new to kernel development and would like to setup a ideal dev system for playing around. I highly recommend Qemu. UML is nice, but you can consider itself as

Re: Recommendation for a dev system

2007-10-27 Thread Pranav Peshwe
On 10/27/07, Mulyadi Santosa [EMAIL PROTECTED] wrote: Hi.. Hello, I'm pretty new to kernel development and would like to setup a ideal dev system for playing around. I highly recommend Qemu. UML is nice, but you can consider itself as another architecture i.e some low

Re: About daemon

2007-10-27 Thread Ashok kumar
On 10/27/07, Wang Yu [EMAIL PROTECTED] wrote: Hi, all I want to know how to implement a daemon process/thread in user mode and kernel respectivly? search for daemon howto on google. http://netzmafia.de/skripten/unix/linux-daemon-howto.html kernel thread