Re: [Qemu-devel] [PATCH v3 16/29] s390x/tcg: Fault-safe memset

2019-09-17 Thread Richard Henderson
On 9/16/19 9:57 AM, David Hildenbrand wrote: > Replace fast_memset() by access_memset(), that first tries to probe > access to all affected pages (maximum is two). We'll use the same > mechanism for other types of accesses soon. > > Only in very rare cases (especially TLB_NOTDIRTY), we'll have to

[Qemu-devel] [PATCH v3 16/29] s390x/tcg: Fault-safe memset

2019-09-16 Thread David Hildenbrand
Replace fast_memset() by access_memset(), that first tries to probe access to all affected pages (maximum is two). We'll use the same mechanism for other types of accesses soon. Only in very rare cases (especially TLB_NOTDIRTY), we'll have to fallback to ld/st helpers. Try to speed up that case as