Classifier alignment
Move lock to a different cacheline to avoid trashing Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
This commit is contained in:
parent
da9a6204d3
commit
74ca3daa37
@ -30,7 +30,7 @@ struct cas_classifier {
|
||||
struct workqueue_struct *wq;
|
||||
|
||||
/* Lock for rules list */
|
||||
rwlock_t lock;
|
||||
rwlock_t lock __attribute__((aligned(64)));
|
||||
};
|
||||
|
||||
struct cas_cls_condition_handler;
|
||||
|
Loading…
Reference in New Issue
Block a user