diff options
author | Keir Fraser <keir@xen.org> | 2011-11-30 16:59:58 -0800 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2011-11-30 16:59:58 -0800 |
commit | b6cf65cf7aeb21cea11075da268563fca22ede9c (patch) | |
tree | 9c6d177354dedeb4ccdefa3d6523cc993ec5aca2 /tools/tests | |
parent | a6aed45cf39d2ed4ee7294c08fa0d9d54fcb683e (diff) | |
download | xen-b6cf65cf7aeb21cea11075da268563fca22ede9c.tar.gz xen-b6cf65cf7aeb21cea11075da268563fca22ede9c.tar.bz2 xen-b6cf65cf7aeb21cea11075da268563fca22ede9c.zip |
xenpaging: Fix c/s 23507:0a29c8c3ddf7 ("update machine_to_phys_mapping[] during page deallocation")
This patch clobbers page owner in free_heap_pages() before we are
finished using it. This means that a subsequent test to determine
whether it is safe to avoid safety TLB flushes incorrectly always
determines that it is safe to do so.
The fix is simple: we can defer the original patch's work until after
we are done with the page-owner field.
Thanks to Christian Limpach for spotting this one.
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'tools/tests')
0 files changed, 0 insertions, 0 deletions