ipvs: convert sched_lock to spin lock
As all read_locks are gone spin lock is preferred. Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
committed by
Pablo Neira Ayuso
parent
ed3ffc4e48
commit
ba3a3ce14e
+1
-1
@@ -734,7 +734,7 @@ struct ip_vs_service {
|
||||
|
||||
/* for scheduling */
|
||||
struct ip_vs_scheduler *scheduler; /* bound scheduler object */
|
||||
rwlock_t sched_lock; /* lock sched_data */
|
||||
spinlock_t sched_lock; /* lock sched_data */
|
||||
void *sched_data; /* scheduler application data */
|
||||
|
||||
/* alternate persistence engine */
|
||||
|
||||
Reference in New Issue
Block a user