]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: iwlwifi: mvm: align reorder buffer entries to cacheline
authorJohannes Berg <johannes.berg@intel.com>
Wed, 3 Jul 2024 09:58:50 +0000 (12:58 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 4 Jul 2024 11:50:04 +0000 (13:50 +0200)
commitd81bf4b63006330d1f70a59414eae61e1a60e677
tree545740765d5468e02d9ae2f9fb3cddf898262177
parenteb801f4fabdf877d38c4746333e3454c4e7603cc
wifi: iwlwifi: mvm: align reorder buffer entries to cacheline

The entries[] array needs to be cacheline aligned to avoid false
sharing between different queues, each queue has a set of entries
in it that it writes to.

While it is aligned in practice today given that each array entry
before it is aligned, it's still clearer to explicitly require it
to be aligned, so add the annotation for that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20240703125541.3bc7a55ac867.Id3c1df6d40e92c3de9caededcbc32d0e57e4423d@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h