From: San Mehat Date: Wed, 5 May 2010 18:38:42 +0000 (-0700) Subject: staging: android: lowmemkiller: Substantially reduce overhead during reclaim X-Git-Tag: sz_beta4~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88df4ffa5932ed9b019792b22c3f074d2261fca4;p=pandora-kernel.git staging: android: lowmemkiller: Substantially reduce overhead during reclaim This patch optimizes lowmemkiller to not do any work when it has an outstanding kill-request. This greatly reduces the pressure on the task_list lock (improving interactivity), as well as improving the vmscan performance when under heavy memory pressure (by up to 20x in tests). Note: For this enhancement to work, you need CONFIG_PROFILING Signed-off-by: San Mehat Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed