Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1207332
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] net: allow sleeping when modifying store_rps_map |
| Date | 2015-08-14 07:00 +0200 |
| Message-ID | <pXffY-79-3@gated-at.bofh.it> (permalink) |
| References | <pX56V-2ug-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Sasha Levin <sasha.levin@oracle.com>
Date: Thu, 13 Aug 2015 14:03:16 -0400
> Commit 10e4ea751 ("net: Fix race condition in store_rps_map") has moved the
> manipulation of the rps_needed jump label under a spinlock. Since changing
> the state of a jump label may sleep this is incorrect and causes warnings
> during runtime.
>
> Make rps_map_lock a mutex to allow sleeping under it.
>
> Fixes: 10e4ea751 ("net: Fix race condition in store_rps_map")
> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] net: allow sleeping when modifying store_rps_map Sasha Levin <sasha.levin@oracle.com> - 2015-08-13 20:10 +0200 Re: [PATCH] net: allow sleeping when modifying store_rps_map Tom Herbert <tom@herbertland.com> - 2015-08-13 20:50 +0200 Re: [PATCH] net: allow sleeping when modifying store_rps_map David Miller <davem@davemloft.net> - 2015-08-14 07:00 +0200
csiph-web