aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2010-09-27 17:36:05 -0400
committerAndi Kleen <ak@linux.intel.com>2010-10-08 03:33:01 -0400
commit9033ae16407f46ae06f559f9374281f6e9d89efc (patch)
tree3d672e5797dd2fb8f5dc49adbc7b07bcae7f7c79 /mm
parent898e70d1e526d7814bd2f64c907706b83ffca9af (diff)
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>
Diffstat (limited to 'mm')
-rw-r--r--mm/memory-failure.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory-failure.c b/mm/memory-failure.c
index 77b3e79528f0..88653c93e4ce 100644
--- a/mm/memory-failure.c
+++ b/mm/memory-failure.c
@@ -272,7 +272,7 @@ struct to_kill {
272 struct list_head nd; 272 struct list_head nd;
273 struct task_struct *tsk; 273 struct task_struct *tsk;
274 unsigned long addr; 274 unsigned long addr;
275 unsigned addr_valid:1; 275 char addr_valid;
276}; 276};
277 277
278/* 278/*