[PATCH RESEND v2 1/1] fix a dead loop when in heavy low memory

2015-12-26 Thread Figo Zhang
state which will cause the android system UI hang, because no process will be kill. commit e5d7965f88a3 ("staging: android: lowmemorykiller: Don't wait more than one second for a process to die") said wait 1 seconds, i think it no need to wait 1 second, because we don't se

[PATCH v2 1/1] fix a dead loop when in heavy low memory

2015-12-26 Thread Figo
d: lowmemorykiller: Don't wait more than one second for a process to die") said wait 1 seconds, i think it no need to wait 1 second, because we don't select the process with "TIF_MEMDIE" to kill. Signed-off-by: Figo --- drivers/staging/android/lowmemorykiller.c |9

[PATCH 1/1] fix a dead loop when in heavy low memory

2015-12-26 Thread Figo
e second for a process to die") said wait 1 seconds, i think it no need to wait 1 second, because we don't select the process with "TIF_MEMDIE" to kill. Signed-off-by: Figo --- drivers/staging/android/lowmemorykiller.c |9 ++--- 1 file changed, 2 insertions(+), 7 deletio

[PATCH 1/1] fix a dead loop when in heavy low memory

2015-12-26 Thread Figo
e second for a process to die") said wait 1 seconds, i think it no need to wait 1 second, because we do select the process with "TIF_MEMDIE" to kill. Signed-off-by: Figo --- drivers/staging/android/lowmemorykiller.c |9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-)

[PATCH 1/1] I have a board it block on i8259A_shutdown when I want to poweroff. It is not always re-produce.

2015-10-09 Thread Figo
mce_syscore_shutdown+0x0/0x50 stop [ 27.844813] PM: Calling i8259A_shutdown+0x0/0x20 start It seems has a potential race on i8259A_shutdown(). Signed-off-by: Figo --- arch/x86/kernel/i8259.c |4 1 file changed, 4 insertions(+) diff --git a/arch/x86/kernel/i8259.c b/arch/x86/kernel/i8259