From mboxrd@z Thu Jan 1 00:00:00 1970 From: "ZCane, Ed (Test Purposes)" Message-ID: <005701c32e68$de7b12b0$d8c176c1@roke.co.uk> Subject: Word of advice, please. Date: Mon, 9 Jun 2003 10:24:04 +0100 Sender: owner-linux-mm@kvack.org Return-Path: To: linux-mm@kvack.org List-ID: Hello all, I appreciate this is probably trivial to you experts, but would be very grateful if you could spare a minute to tell me if I'm on the right tracks, or barking up the wrong tree! I'm trying to write a system to capture large amounts of data from a Gb Ethernet card. Using Linux, Kernel Version 2.4. I've done a bit of reading, and this is how I propose to do it. Allocate a large block (500mb) of contiguous physical memory, at boot time, using bootmem. Share this memory with user-space processess, using memmap and shared memory IPC. Modify our Ethernet driver so that it DMA's into my block of memory. I'll use semaphores, and split the memory into separate chunks, and make it so it rotates in a ring buffer style, I can handle all that stuff, just wanted to make sure I was on the right tracks with the design/concept of the memory. Any advice appreciated, dont wish to take too much of your time! Best regards, Ed begin 666 RMRL-Disclaimer.txt M4F5G:7-T97)E9"!/9F9I8V4Z(%)O:V4@36%N;W(@4F5S96%R8V@@3'1D+"!3 M:65M96YS($AO=7-E+"!/;&1B=7)Y+"!"2!W:71H;W5T('!E aart@kvack.org