On Thu, Dec 1, 2022 at 3:03 PM Masahiko Sawada <sawada.m...@gmail.com> wrote: > > On Thu, Dec 1, 2022 at 4:00 PM John Naylor <john.nay...@enterprisedb.com> wrote: > > > > The bigger question in my mind is: Why is there an atomic variable in backend-local memory? > > Because I use the same radix_tree and radix_tree_control structs for > non-parallel and parallel vacuum. Therefore, radix_tree_control is > allocated in DSM for parallel-vacuum cases or in backend-local memory > for non-parallel vacuum cases.
Ok, that could be yet another reason to compile local- and shared-memory functionality separately, but now I'm wondering why there are atomic variables at all, since there isn't yet any locking support. -- John Naylor EDB: http://www.enterprisedb.com