Re: [Qemu-devel] [PATCH 02/11] Delete unused tb_invalidate_page_range

2011-05-22 Thread Blue Swirl
On Tue, May 17, 2011 at 5:42 PM, Richard Henderson wrote: > On 05/14/2011 12:37 PM, Blue Swirl wrote: >> tb_invalidate_page_range() was intended to be used to invalidate an area of >> a TB >> which the guest explicitly flushes from i-cache. However, QEMU detects writes >> to code areas where TBs

Re: [Qemu-devel] [PATCH 02/11] Delete unused tb_invalidate_page_range

2011-05-17 Thread Richard Henderson
On 05/14/2011 12:37 PM, Blue Swirl wrote: > tb_invalidate_page_range() was intended to be used to invalidate an area of a > TB > which the guest explicitly flushes from i-cache. However, QEMU detects writes > to code areas where TBs have been generated, so this has never been useful. > > Delete t

[Qemu-devel] [PATCH 02/11] Delete unused tb_invalidate_page_range

2011-05-14 Thread Blue Swirl
tb_invalidate_page_range() was intended to be used to invalidate an area of a TB which the guest explicitly flushes from i-cache. However, QEMU detects writes to code areas where TBs have been generated, so this has never been useful. Delete the function, adjust callers. Signed-off-by: Blue Swirl