[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about pte_alloc()
On Thu, Nov 16, 2000 at 03:32:19PM -0500, Shuvabrata Ganguly wrote:
> i know that. but i dont want to wire the pages. i want the driver to allocate
> pages, fill them up with data and then transfer them to the user, which would
> enable the kernel to swap them but then i cant touch page tables at interrupt
> time.
Why don't you use an allocator/deliver thread, a ringbuffer and
throw away the overflowing packets, while signalling the sender,
that you are satiated for the moment? The overflowing packets
will be resent later anyway.
If you receive sth., you just put it into the deliver queue and
wake the thread to deliver (==map) it.
BTW: Zero copy might become pointless if you use threads or play
VM-Tricks.
BTW2: Are you aware of U-Net and VIA?
Regards
Ingo Oeser
--
To the systems programmer, users and applications
serve only to provide a test load.
<esc>:x
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/