Skip to content

Commit db8dd39

Browse files
authored
Add comment about patch provenance.
1 parent 8a85713 commit db8dd39

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • Include/internal/mimalloc/mimalloc

‎Include/internal/mimalloc/mimalloc/prim.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ static inline void* mi_prim_tls_slot(size_t slot) mi_attr_noexcept {
174174
__asm__ volatile ("mrc p15, 0, %0, c13, c0, 3\nbic %0, %0, #3" : "=r" (tcb));
175175
res = tcb[slot];
176176
#elif defined(__aarch64__)
177+
// CPython: patched for watchOS support.
178+
// Submitted upstream as microsoft/mimalloc#1444
177179
// Use a 64-bit temporary: on arm64_32 (ILP32), pointers are 32 bits
178180
// but system registers are 64 bits.
179181
uint64_t tp; MI_UNUSED(ofs);

0 commit comments

Comments
 (0)