Re: [PATCH] Deadlock during heavy write activity to userspace NFS

From: Ulrich Weigand (weigand_at_i1.informatik.uni-erlangen.de)
Date: 07/28/04

  • Next message: Brian Gerst: "[PATCH] Remove boot98"
    To: avi@exanet.com
    Date:	Wed, 28 Jul 2004 04:32:03 +0200 (CEST)
    
    

    Avi Kivity wrote:

    >In our case, all block I/O is done using
    >unbuffered I/O, and all memory is preallocated, so we don't need kswapd
    >at all, just that small bit of memory that syscalls consume.

    Does your userspace process need to send/receive network packets
    in order to perform a write-out? If so, how can you make sure your
    incoming packets aren't thrown away in out-of-memory situations?
    (Outgoing packets can use PF_MEMALLOC memory I guess, but incoming
    ones aren't associated to any process yet ...)

    Bye,
    Ulrich

    -- 
      Dr. Ulrich Weigand
      weigand@informatik.uni-erlangen.de
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Brian Gerst: "[PATCH] Remove boot98"

    Relevant Pages

    • Re: [PATCH 00/28] Swap over NFS -v16
      ... To do so we need to distinguish needed from unneeded packets; ... our state must not consume memory, ... a/ in caches, such as the fragment cache and the route cache ...
      (Linux-Kernel)
    • Re: [PATCH 00/28] Swap over NFS -v16
      ... of dirty memory so that when we desperately need memory on the ... any incoming packets. ... So suppose we forgot about all the allocation tracking (that doesn't ... A packet is received, it can be a fragment, it will be placed in the ...
      (Linux-Kernel)
    • Re: [PATCH 00/28] Swap over NFS -v16
      ... To do so we need to distinguish needed from unneeded packets; ... our state must not consume memory, ... a/ in caches, such as the fragment cache and the route cache ...
      (Linux-Kernel)
    • [patch 2.6.12-rc3] dell_rbu: Resubmitting patch for new Dell BIOS update driver
      ... This also has a fix where the packets were leaked in the function create_packet line#227. ... +The BIOS update is done by writing the new BIOS image in to contiguous physical ... +memory addressable by the BIOS. ... +The disadvantage of contiguous allocation is that it may not be always possible ...
      (Linux-Kernel)
    • Re: [RFC][PATCH 0/9] Network receive deadlock prevention for NBD
      ... when memory is low, we only deliver data to memory critical sockets ... packets to other sockets get dropped, so the memory can be reused ... so network needs special allocator in OOM ...
      (Linux-Kernel)