[lkml]   [2001]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectkernel to user space transactions
we are developing a protocol analyser. our application
needs to capture 100 mbps full duplex traffic. we have
the application in windows which does the same. we are
now trying to port it to linux. we came up with a
basic application that captures traffic. iam very
happy to say that linux was able to capture 100 mbps
full duplex traffic more ( a lot of mores :-) to be
correct) efficiantly than windows. now that we are
ready to port the application to linux, we are trying
to find the best way to transfer data to the user
space from kernel space. we tried normal blocking read
and it works fine. but we dont want to waste cycle on
transfering data to and fro kernel and user land. so
we tried some other techniques like remaping the
kernel land buffers to userland via mmap. that also
works fine.

now we have a doubt that, like maping kernal space
buffers to user space, weather we will be able to map
user space buffers to kernel space(so that we can
write data directly from packet capture
function(registered via dev_add_pack))

so can u guys point out weather that kind of approach
will work and if so where do i start looking?.

Mohan Kumar S
Amoeba Telecom
(visit us at

Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:52    [W:0.039 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site