mm, oom: add description of struct oom_control
authorDavid Rientjes <rientjes@google.com>
Tue, 8 Sep 2015 22:00:44 +0000 (15:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <rientjes@google.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/oom.h