slab usage in linux

2011-01-04 Thread Sowmya Sridharan
Hi List, I have a few queries regarding slab memory and it's usage. I have seen slab cache increase by even 1GB, over two to three days on a stable system.(The system was sending and receiving bulk amounts of packets). When is slab usually freed? Also when I analyzed /proc/slabinfo, I was

floating points in kernel space

2011-01-04 Thread mohit verma
hi all, i read somewhere that there is no floating point arithmatic supported in the kernel space . is it true?? but the floating point registers and even floating point arithmatic units are all handled by the.( kernel i think). thanks in advance for help... --

Re: floating points in kernel space

2011-01-04 Thread Victor Rodriguez
On Tue, Jan 4, 2011 at 6:43 AM, mohit verma mohit89m...@gmail.com wrote: hi all, i read somewhere that there is no floating point arithmatic supported in the kernel space . is it true?? but the floating point registers and even floating point arithmatic units are all handled by the.(

Re: floating points in kernel space

2011-01-04 Thread Dave Hylands
Hi Mohit, On Tue, Jan 4, 2011 at 4:43 AM, mohit verma mohit89m...@gmail.com wrote: hi all, i read somewhere that there is no floating point arithmatic supported in the kernel space . is it true?? but the floating point registers and even floating point arithmatic units are all handled by

Re: slab usage in linux

2011-01-04 Thread Mulyadi Santosa
Hi I cc: the reply to the new list address. I hope you don't mind Now, let's what I can share here On Tue, Jan 4, 2011 at 18:49, Sowmya Sridharan sowmya.sridha...@tcs.com wrote: I have seen slab cache increase by even 1GB, over two to three days on a stable system.(The system was

Re: floating points in kernel space

2011-01-04 Thread Mulyadi Santosa
Hi.. On Tue, Jan 4, 2011 at 22:44, Dave Hylands dhyla...@gmail.com wrote: That is correct. In some architectures, attempts to use floating point from the kernel will work. I've seen some x86 code that uses it. AFAIK, once x86 didn't supported due to floating point related registers are not

Re: ASLR implementation

2011-01-04 Thread Mulyadi Santosa
Hi... On Tue, Jan 4, 2011 at 20:04, Zubin Mithra zubin.mit...@gmail.com wrote: Hi, I recently read about the Linux kernel implementing ASLR to prevent buffer overflow attacks. nope...that is done to make symbol address guessing harder I would like to have a look at how this is

Re: fixed memory bytes

2011-01-04 Thread John Mahoney
Please reply all..I added back list. On Tue, Jan 4, 2011 at 1:58 PM, mohit verma mohit89m...@gmail.com wrote: thnx john,. but i know that this indicates to compiler to  align the structure to its nearest boundries.   is that so? I am not sure of your definition of boundary, but I

Re: floating points in kernel space

2011-01-04 Thread julie Sullivan
On Tue, Jan 4, 2011 at 22:44, Dave Hylands dhyla...@gmail.com wrote: That is correct. In some architectures, attempts to use floating point from the kernel will work. I've seen some x86 code that uses it. AFAIK, once x86 didn't supported due to floating point related registers are not

Re: fixed memory bytes

2011-01-04 Thread julie Sullivan
i have seen many places in kernel where the variables specially the structures should be of fixed size independent of the architecture. i went through the definitions of them but dint get clearly (or frankly say ...dint get them even a bit) . Hi Mohit I'm not sure whether we are

Adding Module to kernel

2011-01-04 Thread Praveen kumar
Dear All, I have a kernel module which i want to add to kernel permanently(I was doing it dynamically) . How can we achieve this ? Regards, Praveen ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: fixed memory bytes

2011-01-04 Thread Rajat Sharma
A nice kernel document regarding unaligned memory access. It may not be directly answering all the questions asked, but once gone through and understood completely, it will become easy to figure out how to write portable kernel code.

Kernel compilation

2011-01-04 Thread scott
I'm new to the list and would like to say hello to everyone. Now on to the meat. I have tried to compile a kernel with a grsec patch 5 times now using a couple of different methods and I keep getting a No init found and Couldn't support optional features errors every time at bootup. I'm trying

Re: Kernel compilation

2011-01-04 Thread Mulyadi Santosa
Hi Scott :) On Wed, Jan 5, 2011 at 12:34, scott redhowlingwol...@nc.rr.com wrote: I'm new to the list and would like to say hello to everyone. Now on to the meat. I have tried to compile a kernel with a grsec patch 5 times now using a couple of different methods and I keep getting a No init

how opensolaris stores the major number ?

2011-01-04 Thread Deepen Mehta
Hi, zfs_mknode is the function use by mknod syscall to create device special file in solaris kernel. I traverse the code and just found how they stores the minor number which is in znode's(disk inode of Linux) attributes struct called sa_bulk_attr field uint16_t sa_buftype which is of 16bit only.

Re: Kernel compilation

2011-01-04 Thread scott
On 01/05/2011 01:46 AM, Mulyadi Santosa wrote: Hi Scott :) On Wed, Jan 5, 2011 at 12:34, scottredhowlingwol...@nc.rr.com wrote: I'm new to the list and would like to say hello to everyone. Now on to the meat. I have tried to compile a kernel with a grsec patch 5 times now using a couple

Re: Kernel compilation

2011-01-04 Thread Robert P. J. Day
On Wed, 5 Jan 2011, scott wrote: I'm new to the list and would like to say hello to everyone. Now on to the meat. I have tried to compile a kernel with a grsec patch 5 times now using a couple of different methods and I keep getting a No init found and Couldn't support optional features