On Fri, Jan 11, 2019 at 12:53 PM Richard Henderson <[email protected]> wrote: > > On 1/11/19 10:49 PM, Max Filippov wrote: > > +#define LINKABLE_BITS 12 > > +#define LINKABLE_SIZE (1u << LINKABLE_BITS) > > +#define LINKABLE_MASK (-LINKABLE_SIZE) > > What is this for? It seems to be replicating TARGET_PAGE_BITS.
I used it to play with different sizes of regions where direct TB chaining is allowed. In linux-user it is possible to have it bigger than the page size. It looks like the optimum is somewhere in the range 10..12. I left it there because it looks logically independent from the page size, but I sure can drop it. -- Thanks. -- Max
