提交 9033ae16 编写于 作者: A Andi Kleen

HWPOISON: Turn addr_valid from bitfield into char

The addr_valid flag is the only flag in "to_kill" and it's slightly more
efficient to have it as char instead of a bitfield.
Signed-off-by: NAndi Kleen <ak@linux.intel.com>
上级 898e70d1
......@@ -272,7 +272,7 @@ struct to_kill {
struct list_head nd;
struct task_struct *tsk;
unsigned long addr;
unsigned addr_valid:1;
char addr_valid;
};
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册