commit | 9033ae16407f46ae06f559f9374281f6e9d89efc | [log] [tgz] |
---|---|---|
author | Andi Kleen <ak@linux.intel.com> | Mon Sep 27 23:36:05 2010 +0200 |
committer | Andi Kleen <ak@linux.intel.com> | Fri Oct 08 09:33:01 2010 +0200 |
tree | 3d672e5797dd2fb8f5dc49adbc7b07bcae7f7c79 | |
parent | 898e70d1e526d7814bd2f64c907706b83ffca9af [diff] [blame] |
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: Andi Kleen <ak@linux.intel.com>
diff --git a/mm/memory-failure.c b/mm/memory-failure.c index 77b3e79..88653c9 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c
@@ -272,7 +272,7 @@ struct list_head nd; struct task_struct *tsk; unsigned long addr; - unsigned addr_valid:1; + char addr_valid; }; /*