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:
Kozlowski Mateusz 2021-03-17 13:23:28 +01:00
parent da9a6204d3
commit 74ca3daa37

View File

@ -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;