Re: [Qemu-devel] [RFC 1/5] cputlb: cleanup get_page_addr_code to use VICTIM_TLB_HIT

2017-02-04 Thread Frederic Konrad
On 02/04/2017 12:30 PM, Edgar E. Iglesias wrote: > On Fri, Feb 03, 2017 at 06:06:33PM +0100, fred.kon...@greensocs.com wrote: >> From: KONRAD Frederic >> >> This replaces env1 and page_index variables by env and index >> so we can use VICTIM_TLB_HIT macro later. >> > >

Re: [Qemu-devel] [RFC 1/5] cputlb: cleanup get_page_addr_code to use VICTIM_TLB_HIT

2017-02-04 Thread Edgar E. Iglesias
On Fri, Feb 03, 2017 at 06:06:33PM +0100, fred.kon...@greensocs.com wrote: > From: KONRAD Frederic > > This replaces env1 and page_index variables by env and index > so we can use VICTIM_TLB_HIT macro later. > Hi Fred, A question, wouldn't it be more readable to add

[Qemu-devel] [RFC 1/5] cputlb: cleanup get_page_addr_code to use VICTIM_TLB_HIT

2017-02-03 Thread fred . konrad
From: KONRAD Frederic This replaces env1 and page_index variables by env and index so we can use VICTIM_TLB_HIT macro later. Signed-off-by: KONRAD Frederic --- cputlb.c | 18 +- 1 file changed, 9 insertions(+), 9