kernel-fxtec-pro1x/drivers/staging/android
Anton Vorontsov 294b27119f staging: android/lowmemorykiller: Don't grab tasklist_lock
Grabbing tasklist_lock has its disadvantages, i.e. it blocks
process creation and destruction. If there are lots of processes,
blocking doesn't sound as a great idea.

For LMK, it is sufficient to surround tasks list traverse with
rcu_read_{,un}lock().

>From now on using force_sig() is not safe, as it can race with an
already exiting task, so we use send_sig() now. As a downside, it
won't kill PID namespace init processes, but that's not what we
want anyway.

Suggested-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-02-08 16:55:45 -08:00
..
switch staging: android: switch: minor code formatting cleanups 2011-12-16 13:41:37 -08:00
android_pmem.h staging: android: add pmem driver 2011-12-16 14:08:17 -08:00
ashmem.c drivers/staging/android/ashmem.c: Cleanups 2012-02-08 16:47:51 -08:00
ashmem.h ashmem: Anonymous shared memory subsystem 2011-12-21 13:38:28 -08:00
binder.c drivers:staging:android Typos: fix some comments that have typos in them. 2012-02-08 16:47:50 -08:00
binder.h Staging: android: fixed a space warning in binder.h 2011-12-22 13:33:57 -08:00
Kconfig ashmem: Anonymous shared memory subsystem 2011-12-21 13:38:28 -08:00
logger.c staging: android: logger: clarify non-update of w_off in do_write_log_from_user 2012-02-08 16:52:45 -08:00
logger.h android: logger: Add new system log for framework/system log messages 2011-11-30 20:40:06 +09:00
lowmemorykiller.c staging: android/lowmemorykiller: Don't grab tasklist_lock 2012-02-08 16:55:45 -08:00
Makefile ashmem: Anonymous shared memory subsystem 2011-12-21 13:38:28 -08:00
pmem.c staging: android: add pmem driver 2011-12-16 14:08:17 -08:00
ram_console.c Staging: android: ram_console: Use resource_size function 2012-02-08 16:47:51 -08:00
ram_console.h staging: android: ram_console: pass in a boot info string 2011-11-30 21:23:37 +09:00
timed_gpio.c drivers/staging/android/timed_gpio.c: Stlye fixes 2012-02-08 16:47:52 -08:00
timed_gpio.h Revert "Staging: android: delete android drivers" 2011-11-30 20:18:14 +09:00
timed_output.c Staging: android: timed_gpio: Properly discard invalid timeout values. 2011-11-30 20:51:36 +09:00
timed_output.h Revert "Staging: android: delete android drivers" 2011-11-30 20:18:14 +09:00
TODO drivers:staging:android Typos: fix some comments that have typos in them. 2012-02-08 16:47:50 -08:00