On 05/22/2015 12:30 PM, Stefan Schmidt wrote: > Hello. > > On 22/05/15 10:59, Marc Kleine-Budde wrote: >> On 05/22/2015 10:57 AM, Alexander Aring wrote: >>> This patch will use atomic operations for sequence number incrementation >>> while MAC header generation. Upper layers like af_802154 or 6LoWPAN >>> could call this function in a parallel context while generating 802.15.4 >>> MAC header before queuing into wpan interfaces transmit queue. >> what about swapping patch 3 and 4? > > To avoid having problems during a git bisect later one? E.g. having the > lock removed but no atomic in place? Yes, that's what I was thinking about. I don't know the code to tell if this is an issue here. Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Attachment:
signature.asc
Description: OpenPGP digital signature