From: venkatesh.pallipadi@intel.com Date: Thu, 9 Apr 2009 21:26:49 +0000 (-0700) Subject: x86, PAT: Handle faults cleanly in set_memory_ APIs X-Git-Tag: v2.6.30-rc3~65^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fa3ab390abfc8b49fc0dd7c845b0ad224ec429f;p=pandora-kernel.git x86, PAT: Handle faults cleanly in set_memory_ APIs Handle faults and do proper cleanups in set_memory_*() functions. In some cases, these functions were not doing proper free on failure paths. With the changes to tracking memtype of RAM pages in struct page instead of pat list, we do not need the changes in commits c5e147. This patch reverts that change. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Suresh Siddha LKML-Reference: <20090409212708.653222000@intel.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed