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 01:31:59 +0000 (09:31 +0800)
commit923fb82117ba9baf50aef46d80f675dd12742e8c
tree40cf7c22dee5a6577ed8a9597d5784385e9d7ba2
parentafe18a1d576790bc1a68b7f1a6ee4765a509ed95
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: I32173900b3866f324ea81d7f47b8984f7ec17ba6
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