Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1308675
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH RT] net: move xmit_recursion to per-task variable on -RT |
| Date | 2016-01-13 18:40 +0100 |
| Message-ID | <qQxyP-300-55@gated-at.bofh.it> (permalink) |
| References | <qQvx1-1Cf-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 13 Jan 2016, Sebastian Andrzej Siewior wrote:
> +#ifdef CONFIG_PREEMPT_RT_FULL
> +static inline int dev_recursion_level(void)
> +{
> + return atomic_read(¤t->xmit_recursion);
Why would you need an atomic here. current does hardly race against itself.
Thanks,
tglx
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH RT] net: move xmit_recursion to per-task variable on -RT Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-01-13 16:30 +0100
Re: [PATCH RT] net: move xmit_recursion to per-task variable on -RT Thomas Gleixner <tglx@linutronix.de> - 2016-01-13 18:40 +0100
Re: [PATCH RT] net: move xmit_recursion to per-task variable on -RT Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-01-14 16:00 +0100
Re: [PATCH RT] net: move xmit_recursion to per-task variable on -RT Hannes Frederic Sowa <hannes@stressinduktion.org> - 2016-01-14 23:10 +0100
Re: [PATCH RT] net: move xmit_recursion to per-task variable on -RT Eric Dumazet <eric.dumazet@gmail.com> - 2016-01-14 23:30 +0100
Re: [PATCH RT] net: move xmit_recursion to per-task variable on -RT Hannes Frederic Sowa <hannes@stressinduktion.org> - 2016-01-15 00:10 +0100
Re: [PATCH RT] net: move xmit_recursion to per-task variable on -RT Thomas Gleixner <tglx@linutronix.de> - 2016-01-15 09:30 +0100
Re: [PATCH RT] net: move xmit_recursion to per-task variable on -RT Hannes Frederic Sowa <hannes@stressinduktion.org> - 2016-01-15 10:40 +0100
csiph-web