qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [PATCH v4 02/11] tcg: light re-factor and pass down T


From: Alex Bennée
Subject: Re: [Qemu-trivial] [PATCH v4 02/11] tcg: light re-factor and pass down TranslationBlock
Date: Wed, 03 Feb 2016 18:38:24 +0000
User-agent: mu4e 0.9.17; emacs 25.0.90.1

Aurelien Jarno <address@hidden> writes:

> On 2015-08-03 10:14, Alex Bennée wrote:
>> My later debugging patches need access to the origin PC. At the same
>> time we have a slightly clumsy pass-by-reference access to the size of
>> the translated block again for debugging purposes.
<snip>
>>      void *tc_ptr;    /* pointer to the translated code */
>> +    uint32_t tc_size;/* size of translated code */
>>      /* next matching tb for physical address. */
>>      struct TranslationBlock *phys_hash_next;
>>      /* first and second physical page containing code. The lower bit
>
> What's the impact on the memory here? Given the alignement, we add 8
> bytes to the structure on a 64-bit host.
<snip>

Well this has all got a lot simpler thanks to Richard's clean-up work
since this was last posted.

--
Alex Bennée



reply via email to

[Prev in Thread] Current Thread [Next in Thread]