On 10 June 2013 16:27, Viresh Kumar wrote:
Yes subject should be: sched: don't set sd->child to NULL when it is
already NULL
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.
Memory for sd is allocated with kzalloc_node() which will initialize its fields
with zero. In build_sched_domain() we are setting sd->child to child even if
child is NULL, which isn't required.
Lets do it only if child isn't NULL.
Signed-off-by: Viresh Kumar
---
kernel/sched/core.c | 2 +-
1 fi
2 matches
Mail list logo