diff options
| author | David Rientjes <[email protected]> | 2009-09-21 17:01:34 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-09-22 07:17:27 -0700 |
| commit | b259fbde0a86085264c89aa2ce9c6e35792a1aad (patch) | |
| tree | 43c43fcab1fd6eb897f7348a3b2c8071d61f2b6d /tools/perf/scripts/python | |
| parent | 4b02108ac1b3354a22b0d83c684797692efdc395 (diff) | |
mm: update alloc_flags after oom killer has been called
It is possible for the oom killer to select current as the task to kill.
When this happens, alloc_flags needs to be updated accordingly to set
ALLOC_NO_WATERMARKS so the subsequent allocation attempt may use memory
reserves as the result of its thread having TIF_MEMDIE set if the
allocation is not __GFP_NOMEMALLOC.
Acked-by: Mel Gorman <[email protected]>
Signed-off-by: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions