Lowmem: port from slp kernel
authorChengwei Yang <chengwei.yang@intel.com>
Tue, 14 Aug 2012 00:20:06 +0000 (08:20 +0800)
committerChengwei Yang <chengwei.yang@intel.com>
Tue, 14 Aug 2012 03:53:21 +0000 (11:53 +0800)
commitdd522cae2a5c5f17029efc1be522fb5cb73e41da
tree40cf7c22dee5a6577ed8a9597d5784385e9d7ba2
parente9daa5e57f38afb852832dede64d49abfa114733
Lowmem: port from slp kernel

Port lsp lowmem code to PR3, only did a little changes. That is change
rss in task_rss_t to long and use atomic_long_read to get atomic_long_t
value.

Change-Id: I21fb684a0b1e86d5ece3a5b294c9f64075d8079d
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/slp_lowmem_notify.c [new file with mode: 0644]
include/linux/slp_lowmem_notify.h [new file with mode: 0644]
mm/page_alloc.c