[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150813.214107.830938216718961195.davem@davemloft.net>
Date: Thu, 13 Aug 2015 21:41:07 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sasha.levin@...cle.com
Cc: tom@...bertland.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: allow sleeping when modifying store_rps_map
From: Sasha Levin <sasha.levin@...cle.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@...cle.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists