projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
898e70d
)
HWPOISON: Turn addr_valid from bitfield into char
author
Andi Kleen
<ak@linux.intel.com>
Mon, 27 Sep 2010 21:36:05 +0000
(23:36 +0200)
committer
Andi Kleen
<ak@linux.intel.com>
Fri, 8 Oct 2010 07:33:01 +0000
(09:33 +0200)
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>
mm/memory-failure.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/memory-failure.c
b/mm/memory-failure.c
index 77b3e79528f0a5db87045942964ca5178ffc396f..88653c93e4ce0c250c33555c4add9f0804f26a3e 100644
(file)
--- 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
;
};
/*