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
---
mm/mempolicy.c | 31 +--
1 files changed, 13 insertions(+), 18 deletions(-)
diff --git a/mm/mempolicy.c
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 o...@redhat.com
---
mm/mempolicy.c | 31 +--
1 files changed, 13 insertions(+), 18 deletions(-)
diff --git
2 matches
Mail list logo