Skip to content

RFC VM deadlock prevention -v4

Peter Zijlstra linux-mm lkml netdev 1 version In review

Get series with b4
b4 am 20060812141415.30842.78695.sendpatchset@lappy

Versions newest first

  1. v1 RFC Latest4 patches 25 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4pfn_to_kaddr() for UMLinclude/asm-um/page.h+2 -00 replies
2/4SROG allocatorinclude/linux/srog.h mm/Makefile mm/srog.c+305 -10 replies
3/4deadlock prevention coreinclude/linux/gfp.h include/linux/mmzone.h include/linux/skbuff.h +8 more+290 -1914 replies
4/4deadlock prevention for NBDblock/elevator.c block/ll_rw_blk.c drivers/block/nbd.c +1 more+35 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC][PATCH 0/4] VM deadlock prevention -v4

Hi,

here the latest effort, it includes a whole new trivial allocator with a horrid name and an almost full rewrite of the deadlock prevention core. This version does not do anything per device and hence does not depend on the new netdev_alloc_skb() API.

The reason to add a second allocator to the receive side is twofold:
1) it allows easy detection of the memory pressure / OOM situation;
2) it allows the receive path to be unbounded and go at full speed when resources permit.

The choice of using the global memalloc reserve as a mempool makes that the new allocator has to release pages as soon as possible; if we were to hoard pages in the allocator the memalloc reserve would not get replenished readily.

Peter

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>