Fix: Don't nest get online cpus
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 13 Dec 2017 18:40:42 +0000 (13:40 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 13 Dec 2017 18:50:42 +0000 (13:50 -0500)
commitf78cce4bcb07f2e98c6a1f6fd15af12819bbd5c7
treec88b228537f39f84f914081a1efee7171238d1dd
parente2129868ffc39d0277d39f67084398e2412cf7c6
Fix: Don't nest get online cpus

Since the cpu hotplug refactoring in the Linux kernel, CPU hotplug
"online cpus" read lock cannot be nested anymore.

Fix this by disabling preemption around the section instead.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/ringbuffer/ring_buffer_frontend.c
This page took 0.02711 seconds and 4 git commands to generate.