mm, oom: add description of struct oom_control
authorDavid Rientjes <[email protected]>
Tue, 8 Sep 2015 22:00:44 +0000 (15:00 -0700)
committerLinus Torvalds <[email protected]>
Tue, 8 Sep 2015 22:35:28 +0000 (15:35 -0700)
commit8989e4c7d4e3c30b55c998a1138cd06c92df7295
tree6d3c8967401ff31e119573fb9cc32b3bece99354
parent071a4befebb655d6b31bf5c6bacd5a6df035224d
mm, oom: add description of struct oom_control

Describe the purpose of struct oom_control and what each member does.

Also make gfp_mask and order const since they are never manipulated or
passed to functions that discard the qualifier.

Signed-off-by: David Rientjes <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/oom.h