facebook / facebook/folly

Can I use atomic_shared_ptr on a 5-level paging enabled system?

Open
#2,460 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
30.5k
Forks
5.9k
PR merge metrics
No merged PRs in 30d

Description

If 5-level paging is enabled, 16-bit local count will overlap 57-bit address part, which will corrupt memory. Am I right? If so, how does the atomic_shared_ptr class handle this problem?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.