x86, PAT: Change order of cpa and free in set_memory_wb
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>
Thu, 9 Apr 2009 21:26:48 +0000 (14:26 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 10 Apr 2009 11:55:46 +0000 (13:55 +0200)
To be free of aliasing due to races, set_memory_* interfaces should
follow ordering of reserving, changing memtype to UC/WC, changing
memtype back to WB followed by free.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
LKML-Reference: <20090409212708.512280000@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found