Fix: populate possible cpus array len cache with fd tracker lock 2.13-custom-upgrade-rev3
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 10 Oct 2022 15:53:50 +0000 (16:53 +0100)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 10 Oct 2022 15:57:20 +0000 (16:57 +0100)
commitecec7684b4bbea9042e47afc9c443741b3a03f5b
treeab7d7510cb5a842fcb6acebee7321fd7e33047fa
parenta1139084ed6e30dc39f717a58630df4d5e6cb615
Fix: populate possible cpus array len cache with fd tracker lock

get_possible_cpus_array_len internally opens and closes file
descriptors. Initialize the cache with fd tracker lock held to prevent
concurrent use of close/closeall/closefrom.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ib16c73f11af0b0cb163b38b0b096a86f6ae86325
src/lib/lttng-ust/lttng-ust-comm.c
This page took 0.025665 seconds and 5 git commands to generate.