Thread (8 messages) 8 messages, 4 authors, 2016-01-15

Re: [PATCH RT] net: move xmit_recursion to per-task variable on -RT

From: Thomas Gleixner <hidden>
Date: 2016-01-13 17:33:24
Also in: linux-rt-users, lkml

On Wed, 13 Jan 2016, Sebastian Andrzej Siewior wrote:
+#ifdef CONFIG_PREEMPT_RT_FULL
+static inline int dev_recursion_level(void)
+{
+	return atomic_read(&current->xmit_recursion);
Why would you need an atomic here. current does hardly race against itself.

Thanks,

	tglx
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help