summaryrefslogtreecommitdiffstats
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2010-09-27 23:36:05 +0200
committerAndi Kleen <ak@linux.intel.com>2010-10-08 09:33:01 +0200
commit9033ae16407f46ae06f559f9374281f6e9d89efc (patch)
tree3d672e5797dd2fb8f5dc49adbc7b07bcae7f7c79 /mm/memory-failure.c
parent898e70d1e526d7814bd2f64c907706b83ffca9af (diff)
downloadlinux-9033ae16407f46ae06f559f9374281f6e9d89efc.tar.gz
linux-9033ae16407f46ae06f559f9374281f6e9d89efc.tar.bz2
linux-9033ae16407f46ae06f559f9374281f6e9d89efc.zip
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/memory-failure.c')
-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 {
struct list_head nd;
struct task_struct *tsk;
unsigned long addr;
- unsigned addr_valid:1;
+ char addr_valid;
};
/*