Commit 9033ae16 authored by Andi Kleen's avatar 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: default avatarAndi Kleen <ak@linux.intel.com>
parent 898e70d1
...@@ -272,7 +272,7 @@ struct to_kill { ...@@ -272,7 +272,7 @@ struct to_kill {
struct list_head nd; struct list_head nd;
struct task_struct *tsk; struct task_struct *tsk;
unsigned long addr; unsigned long addr;
unsigned addr_valid:1; char addr_valid;
}; };
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment