qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH for 8.0 v2] memory: Prevent recursive memory access


From: Paolo Bonzini
Subject: Re: [PATCH for 8.0 v2] memory: Prevent recursive memory access
Date: Thu, 16 Mar 2023 13:55:02 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

On 3/16/23 13:24, Akihiko Odaki wrote:
+static const Object **accessed_region_owners;
+static size_t accessed_region_owners_capacity;
+static size_t accessed_region_owners_num;
+

These should be thread-local variables at least, because the memory access API is thread-safe.

Paolo




reply via email to

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