Revert "Fix bad merge."

This reverts commit 2a62620d9ffb6637bf2cc5a6864a6d5fc046d221.
Revert "staging: android: lmk: check free memory when tasks switch to background"

This reverts commit 0cb99bb21298c92c5cb2ece975a7a9fc71234773.
Revert "staging: android/lowmemorykiller: Do not kill kernel threads"

This reverts commit 15494ec8db0de0fffc874d5ba69589ed7e7fe73e.
Revert "android/lowmemorykiller: Wait for memory to be freed"

This reverts commit b14451cf74c622ac38736479b2da485de186f1de.
Revert "drivers/staging/android/lowmemorykiller.c: backport 3.4 lowmemorykiller"

This reverts commit dc4570453b61ffc50ca545ae68732a6f4c0698d4.
drivers/staging/android/lowmemorykiller.c: backport 3.4 lowmemorykiller

All commits up to:
    f8f24e6  lowmemorykiller: make default lowmemorykiller debug message useful
staging: android/lowmemorykiller: Do not kill kernel threads

LMK should not try killing kernel threads.

Suggested-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
staging: android: lmk: check free memory when tasks switch to background

Add more free-memory check point.
This patch trigger low memory killer to scan free memory when a process is moved
to background task groups.

Change-Id: If50eef2fb2c05f57ab808f95a9408204058f4f9b
Signed-off-by: Hong-Mei Li <a21834@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/557973
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Yi-Wei Zhao <gbjc64@motorola.com>
SLTApproved: Yi-Wei Zhao <gbjc64@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>

Conflicts:
	drivers/staging/android/Kconfig
	kernel/sched/core.c

Conflicts:
	include/linux/sched.h
	kernel/sched/core.c

Conflicts:
	drivers/staging/android/Kconfig
Fix bad merge.