Re: [PING PATCH v2] linux-user: Passthrough MADV_DONTNEED for certain file mappings

2022-09-05 Thread Richard Henderson
On 9/1/22 09:45, Ilya Leoshkevich wrote: +/* + * For linux-user, indicates that the page is mapped with the same semantics + * in both guest and host. + */ +#define PAGE_PASSTHROUGH 0x0800 I would expect a change to PAGE_STICKY in accel/tcg/translate-all.c, so that this bit is preserved

[PING PATCH v2] linux-user: Passthrough MADV_DONTNEED for certain file mappings

2022-09-01 Thread Ilya Leoshkevich
On Mon, 2022-07-25 at 14:50 +0200, Ilya Leoshkevich wrote: > This is a follow-up for commit 892a4f6a750a ("linux-user: Add partial > support for MADV_DONTNEED"), which added passthrough for anonymous > mappings. File mappings can be handled in a similar manner. > > In order to do that, mark

[PING] [PATCH v2] linux-user: Passthrough MADV_DONTNEED for certain file mappings

2022-08-11 Thread Ilya Leoshkevich
On Mon, 2022-07-25 at 14:50 +0200, Ilya Leoshkevich wrote: > This is a follow-up for commit 892a4f6a750a ("linux-user: Add partial > support for MADV_DONTNEED"), which added passthrough for anonymous > mappings. File mappings can be handled in a similar manner. > > In order to do that, mark