Skip to content

Commit 63d8bd2

Browse files
authored
[scudo] Add thread-safety annotation on getMemoryGroupFragmentationIn… (#108277)
Add thread-safety annotation on getMemoryGroupFragmentationInfoInRegion
1 parent 5c7957d commit 63d8bd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/scudo/standalone/primary64.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,7 @@ template <typename Config> class SizeClassAllocator64 {
12071207

12081208
void getMemoryGroupFragmentationInfoInRegion(RegionInfo *Region, uptr ClassId,
12091209
ScopedString *Str)
1210-
REQUIRES(Region->MMLock) {
1210+
REQUIRES(Region->MMLock) EXCLUDES(Region->FLLock) {
12111211
const uptr BlockSize = getSizeByClassId(ClassId);
12121212
const uptr AllocatedUserEnd =
12131213
Region->MemMapInfo.AllocatedUser + Region->RegionBeg;

0 commit comments

Comments
 (0)