Re: Linux TCP/IP architecture documents?

2007-11-08 Thread Thomas Petazzoni
Le Thu, 8 Nov 2007 15:51:22 -0800, "Sarath Kamisetty" <[EMAIL PROTECTED]> a écrit : > Are there any documents explaining the TCP/IP stack design and > implementation in Linux ? What is a good place to start understanding > Linux TCP/IP implementation ? Any pointers to the code will also be > help

Why do we need to load CR3 again in pagetable_init function?

2007-11-08 Thread Neo Jia
hi, I think the swapper_pg_dir is already loaded in head.S. Why we need to load it again? Just a simple 2-level page table. Thanks, Neo -- I would remember that if researchers were not ambitious probably today we haven't the technology we are using! -- To unsubscribe from this list: send an em

Page Cache

2007-11-08 Thread Wang Yu
Hi, all First, I want to verify a statement: every opened file has a page cache in memory, there is a struct address_space object associated with it and the inode of the opened file has a field i_mapping pointing to the page cache. If processes in system read or write N files concurrently, there

Zeoring out memory

2007-11-08 Thread Mohammad M Molla
How can I zero out a large chunk of allocated memory given I don't have access to memset/bzero? Is there any efficient way to do that in software? Thanks, - Meraj __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around h

Zeroing out memory

2007-11-08 Thread Mohammad M Molla
How can I zero out a large chunk of allocated memory given I don't have access to memset/bzero? Is there any efficient way to do that in software? Thanks, - Meraj __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around h

Any one have experience about TCP/UDP develepment in LINUX kernel space.

2007-11-08 Thread Tang Rui
Hi, I want to develop a TCP/UDP daemon in LINUX kernel-space, I use this demon to receive data from specified ip port, and then injector the data to another driver or device. Most of cases, we can use user-space socket interface to receive TCP/UDP packet , then send data to driver by driv

Re: Linux TCP/IP architecture documents?

2007-11-08 Thread Li Zefan
Sarath Kamisetty wrote: > Hi, > > Are there any documents explaining the TCP/IP stack design and > implementation in Linux ? What is a good place to start understanding > Linux TCP/IP implementation ? Any pointers to the code will also be > helpful. > Maybe this book . Li Zefan -- To unsubscr

Linux TCP/IP architecture documents?

2007-11-08 Thread Sarath Kamisetty
Hi, Are there any documents explaining the TCP/IP stack design and implementation in Linux ? What is a good place to start understanding Linux TCP/IP implementation ? Any pointers to the code will also be helpful. Thanks, Sarath -- To unsubscribe from this list: send an email with "unsubscribe

Re: in kernel tcp server

2007-11-08 Thread bargav yaarov
- Original Message > From: Andre Haupt <[EMAIL PROTECTED]> > To: bargav yaarov <[EMAIL PROTECTED]> > Cc: kernelnewbies@nl.linux.org > Sent: Thursday, November 8, 2007 2:11:40 AM > Subject: Re: in kernel tcp server > > On Mon, Nov 05, 2007 at 06:44:51PM -0800, bargav yaarov wrote: > > Hi,

Re: How to lock an optical drive tray closed?

2007-11-08 Thread Steve R. Hastings
On Wed, 2007-11-07 at 22:32 +0100, Rene Herman wrote: > On 07-11-07 09:19, Steve R. Hastings wrote: > > However, in my tests, the drive still ejects the disk even when I use > > the CDROM_LOCKDOOR IOCTL to lock it. > > Works for me on a pata/sr driven CD-ROM and DVD. The description sort of > mak

Re: in kernel tcp server

2007-11-08 Thread Andre Haupt
On Mon, Nov 05, 2007 at 06:44:51PM -0800, bargav yaarov wrote: > Hi, > I am trying to write a kernel module that is a simple in kernel tcp echo > server. Why not just do that in user space? I dont think, that such things should be done in kernel space. regards, Andre -- To unsubscribe from thi