diff options
author | Oleg Nesterov <oleg@redhat.com> | 2014-10-10 00:27:43 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-10 04:25:55 +0200 |
commit | f15ca78e33b0bb5acc0c5d9a5d5be3c55c4f0bb7 (patch) | |
tree | 0fbf0b3ccedd33232dcd60d9f959509d4cc2cdf2 /kernel/.gitignore | |
parent | mempolicy: change alloc_pages_vma() to use mpol_cond_put() (diff) | |
download | linux-f15ca78e33b0bb5acc0c5d9a5d5be3c55c4f0bb7.tar.xz linux-f15ca78e33b0bb5acc0c5d9a5d5be3c55c4f0bb7.zip |
mempolicy: change get_task_policy() to return default_policy rather than NULL
Every caller of get_task_policy() falls back to default_policy if it
returns NULL. Change get_task_policy() to do this.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: David Rientjes <rientjes@google.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/.gitignore')
0 files changed, 0 insertions, 0 deletions