Skip to content

Reduce number of GFP_ATOMIC allocation failures

Mel Gorman linux-mm lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2page allocator: Always wake kswapd when restarting an allocation attempt after direct reclaim failedmm/page_alloc.c+1 -12 replies
2/2page allocator: Direct reclaim should always obey watermarksmm/page_alloc.c+2 -14 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchPekka EnbergChristoph Lameter
1/2R-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Reduce number of GFP_ATOMIC allocation failures

The following two patches against 2.6.32-rc4 should reduce allocation failure reports for GFP_ATOMIC allocations that have being cropping up since 2.6.31-rc1.

I believe these are candidates for -stable as they address issues in the following commit introduced in the v2.6.30..v2.6.31-rc1 window

11e33f6 page allocator: break up the allocator entry point into fast and slow paths

The patch should not have made functional changes but at least two slipped by. The first patch wakes kswapd up each time after OOM-killing has been considered. This can be important to high-order allocations where kswapd needs to reclaim at a higher order. The second patch corrects a problem whereby a process that is exiting and making a __GFP_NOFAIL allocation can ignore watermarks.

These patches in combination should help reduce the number of GFP_ATOMIC failures in the following bug.

[Bug #14141] order 2 page allocation failures in iwlagn

However, this bug should not yet be closed as there are still problems in the driver itself that increase the number of GFP_ATOMIC allocations that bug.

The patches should also help the following bugs as well and testing there would be appreciated.

[Bug #14265] ifconfig: page allocation failure. order:5, mode:0x8020 w/ e100

It might also have helped the following bug although that driver has already been fixed by not making high-order atomic allocations.

[Bug #14016] mm/ipw2200 regression

 mm/page_alloc.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

--
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>