| From: |
| Johannes Berg <johannes-AT-sipsolutions.net> |
| To: |
| linux-wireless-AT-vger.kernel.org |
| Subject: |
| [PATCH wireless-next 0/6] wifi: mac80211: key RCU improvements |
| Date: |
| Mon, 26 Oct 2026 12:48:34 +0100 |
| Message-ID: |
| <20261026115144.189706-8-johannes@sipsolutions.net> |
| Archive-link: |
| Article |
The synchronize_net/rcu in key handling is expensive, and was really
only needed because we tried to be precise with the tailroom handling.
As I'd mentioned earlier, it gets a lot simpler if we just accept the
SKB realloc in SW crypto race cases. The race should be rare (often
impossible, but in ways that's difficult to put into code), and even
SW crypto should be rare already.
So this set of patches changes that to accept the race, and then we
can clean up a lot of the key RCU sync, which should make installing
keys quite a lot cheaper.
johannes