]> sourceware.org Git - glibc.git/commit
nscd: bump GC cycle during cache pruning (bug 26130)
authorAndreas Schwab <schwab@suse.de>
Wed, 17 Jun 2020 14:05:13 +0000 (16:05 +0200)
committerAndreas Schwab <schwab@suse.de>
Thu, 17 Sep 2020 15:59:11 +0000 (17:59 +0200)
commit5e74e6f85842892bc25da8e8c70d8dadd485941a
treeecccee562fbf549b47bdecfc07aa3fa41b065b2b
parent94cd37ebb293321115a36a422b091fdb72d2fb08
nscd: bump GC cycle during cache pruning (bug 26130)

While nscd prunes a cache it becomes inconsistent temporarily, which is
visible to clients if that cache is shared.  Bump the GC cycle counter so
that the clients notice the modification window.

Uniformly use atomic_fetch_add to modify the GC cycle counter.
nscd/cache.c
nscd/mem.c
This page took 0.040722 seconds and 5 git commands to generate.