Re: [PATCH 15/24] accel/tcg: Use interval tree for TBs in user-only mode

2022-10-25 Thread Richard Henderson
On 10/26/22 01:58, Alex Bennée wrote: Richard Henderson writes: Begin weaning user-only away from PageDesc. Since, for user-only, all TB (and page) manipulation is done with a single mutex, and there is no virtual/physical discontinuity to split a TB across discontinuous pages, place all of

Re: [PATCH 15/24] accel/tcg: Use interval tree for TBs in user-only mode

2022-10-25 Thread Alex Bennée
Richard Henderson writes: > Begin weaning user-only away from PageDesc. > > Since, for user-only, all TB (and page) manipulation is done with > a single mutex, and there is no virtual/physical discontinuity to > split a TB across discontinuous pages, place all of the TBs into > a single Interva

[PATCH 15/24] accel/tcg: Use interval tree for TBs in user-only mode

2022-10-05 Thread Richard Henderson
Begin weaning user-only away from PageDesc. Since, for user-only, all TB (and page) manipulation is done with a single mutex, and there is no virtual/physical discontinuity to split a TB across discontinuous pages, place all of the TBs into a single IntervalTree. This makes it trivial to find all