[lkml]   [2001]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Query about Tun/Tap Modules
"Erik Andersen wrote:"
> On Sun Sep 09, 2001 at 08:58:56PM +0530, Shiva Raman Pandey wrote:
> >
> > Q2. What can be other ways, not very complicated to solve my purpose
> > instead of using Tun/Tap.
> The network block device can be used via loopback...

Not totally relaibly, however. It must deadlock when writing to a
server on the same machine, because when we run out of memory
we must free buffers by flushing pending writes on devices, which will
send packets for the nbd out to loaclhost and to the local server, where
they will take a buffer just prior to being written to disk ... and
of course they won't succeed because we are out of memory.

I would like the algorithms that free buffers to avoid the device
that caused the memory pressure. Since they can't do that, the
next best thing is to avoid it some of the time, which they
can do by avoiding everything randomly. Please add randomness under
stress, people.

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 13:03    [W:0.032 / U:5.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site