mm/zswap: avoid unnecessary page scanning

Add SetPageReclaim() before __swap_writepage() so that page can be moved
to the tail of the inactive list, which can avoid unnecessary page
scanning as this page was reclaimed by swap subsystem before.

Signed-off-by: Weijie Yang <weijie.yang@samsung.com>
Reviewed-by: Bob Liu <bob.liu@oracle.com>
Reviewed-by: Minchan Kim <minchan@kernel.org>
Acked-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Luka Karinja <lk@varjanta.com>
Dynamic management of dirty page writebacks, expire and cache pressure
intelli_plug: switch to use dedicated high priority workqueue

from the shared global workqueue.  This should prevent hang ups while the
global workqueue is busy and cleaned up some logic issues.

give input boost its own workqueue

bump to version 2.2

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Luka Karinja <lk@varjanta.com>
Add MSM_SLEEPER mod (max screen off frequency)
modified by Luka K. for POWERSUSPEND

Signed-off-by: Luka Karinja <lk@varjanta.com>
mm: tweaks
intelliplug: active by default
ARM: add auto hotplug driver fix