Maximum packet size in kernel
Subsystems (2)
hello,
I want to know how much maximum packet size is assigned by alloc_skb in kernel? and is there any extra space remains in packet allocated memory? Does it dependent on CPU cache?
regards,
cranium.
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com
global memory access
Hi,
I was wondering how a user-level program can share a writable memory buffer with the kernel. The memory can either belongs to the kernel space or the user space, but both kernel module and user program should be able to access(read, write) it.
Any hint? Many thanks,
Lan
Re: global memory access
Uttered Lan Xue <[email protected]>, spake thus:
Quoted 4 lines
I was wondering how a user-level program can share a writable memory buffer with the kernel. The memory can either belongs to the kernel space or the user space, but both kernel module and user program should be able to
access(read, write)it.
$ man 2 mmap
Cheers!