|
Message-ID: <e457d3dcb3b84e39ae7e9761216d3783@huawei.com>
Date: Thu, 13 Jan 2022 03:09:55 +0000
From: "zhaohang (F)" <zhaohang14@...wei.com>
To: "musl@...ts.openwall.com" <musl@...ts.openwall.com>
CC: "zhangwentao (M)" <zhangwentao234@...wei.com>
Subject: What's the purpose of the __vm_lock?
Hello,
I'm a little confused about the usefulness of __vm_lock. It seems like that __vm_lock was originally cited to prevent the data race condition between pthread_barrier_wait and virtual memory changing, but it can not ensure that the virtual memory of the barrier will not be changed before pthread_barrier_wait. So, what is the meaning that introduce the __vm_lock to prevent the data race?
Thank you.
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.