Fix: populate possible num possible cpus cache with fd tracker lock 2.12-custom-upgrade
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 16:01:10 +0000 (17:01 +0100)
commit8b129a2bc97f1f0d5426fafc636315323edaff43
tree86452ffe0d4c21245fd5428fa3f98a9a5774f41d
parent3531136c3249f5bb8232ba2ec298735e3587be62
Fix: populate possible num possible cpus cache with fd tracker lock

num_possible_cpus 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
liblttng-ust/lttng-ust-comm.c
This page took 0.024846 seconds and 5 git commands to generate.