Re: Implement custom network protocol for local processes

2011-01-18 Thread Vasiliy Kulikov
Kfir, On Mon, Jan 17, 2011 at 23:24 +0200, Kfir Lavi wrote: Hi, How can one implement custom header network protocol. I mean header that wraps regular network packets like ethernet, udp, tcp, etc... The sending of this custom packets is done between processes running locally. ie. I get a

Re: Query regarding size-16384 cache in kernel

2011-01-18 Thread Dave Hylands
Hi Sowmya, On Tue, Jan 18, 2011 at 6:06 AM, Sowmya Sridharan sowmya.sridha...@tcs.com wrote: Hi, We see an continuous increase in slab size of 1GB for slab cache named size-16384 in a system. The system is stable and sending/receiving bulk amounts of packets. /proc/slabinfo Initial Value:

Re: Regarding Kernel Project

2011-01-18 Thread Greg KH
On Mon, Jan 17, 2011 at 02:13:30AM +0530, vinit agrawal wrote: how about writing a device driver for those new 3G and 4G wireless devices.. We should already have drivers for all of these in Linux already. If not, please let me know. sorry, greg k-h

Re: Accessing on-disk datastructures from a module

2011-01-18 Thread Manish Katiyar
On Tue, Jan 18, 2011 at 11:23 PM, Martin DeMello martindeme...@gmail.com wrote: I would like to maintain some filesystem metadata as an on-disk datastructure that can be read and written to from within the filesystem module. I know file access from within the kernel is a bad idea; what is the

Re: Accessing on-disk datastructures from a module

2011-01-18 Thread Martin DeMello
On Wed, Jan 19, 2011 at 1:03 PM, Manish Katiyar mkati...@gmail.com wrote: On Tue, Jan 18, 2011 at 11:23 PM, Martin DeMello martindeme...@gmail.com wrote: I would like to maintain some filesystem metadata as an on-disk datastructure that can be read and written to from within the filesystem

Re: Accessing on-disk datastructures from a module

2011-01-18 Thread Manish Katiyar
On Tue, Jan 18, 2011 at 11:40 PM, Martin DeMello martindeme...@gmail.com wrote: On Wed, Jan 19, 2011 at 1:03 PM, Manish Katiyar mkati...@gmail.com wrote: On Tue, Jan 18, 2011 at 11:23 PM, Martin DeMello martindeme...@gmail.com wrote: I would like to maintain some filesystem metadata as an

Re: Accessing on-disk datastructures from a module

2011-01-18 Thread Martin DeMello
On Wed, Jan 19, 2011 at 1:18 PM, Manish Katiyar mkati...@gmail.com wrote: Once you have your reserved inode, you can open it using iget to get the inode pointer. After that it would be same way as you would have done if you were allowed file ops in kernel. For eg.. If my reserved inode is 100