Return-Path: From: Sven Eckelmann Date: Tue, 7 Sep 2010 20:24:51 +0200 References: <1283646353-17811-1-git-send-email-sven.eckelmann@gmx.de> <201009071956.54499.sven.eckelmann@gmx.de> <20100907181000.GF2448@linux.vnet.ibm.com> In-Reply-To: <20100907181000.GF2448@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3312287.PMbKDDce3f"; protocol="application/pgp-signature"; micalg=pgp-sha512 Content-Transfer-Encoding: 7bit Message-Id: <201009072024.53048.sven.eckelmann@gmx.de> Subject: Re: [B.A.T.M.A.N.] [PATCHv4] net: Add batman-adv meshing protocol Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: paulmck@linux.vnet.ibm.com Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.net, davem@davemloft.net --nextPart3312287.PMbKDDce3f Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Paul E. McKenney wrote: [..] > > > I have similar concerns with your other RCU read-side critical > > > sections. > >=20 > > Looks to me like a valid point. I have to think a little bit how to sol= ve > > it correctly. Feel free to add more comments about other rcu cruelties > > in it. >=20 > One approach would be to extend the RCU read-side critical section to > cover all uses of the RCU-protected pointer. Another approach would be > to take a reference count (or something similar) before the pointer > leaves the RCU read-side critical section. I am not the author of the rcu related functionality (it was one of the act= ual=20 maintainers: Simon Wunderlich), but would guess that the rcu protected=20 "critical section" will be extended. > Could you please take a look at Documentation/RCU/checklist.txt? >=20 > Because I am not familiar with the BATMAN device, it is all too easy > for me to miss subtleties in the code. Yes, will be done (will probably end in reading all the rcu documentation).= =20 But it is really nice that you checked the code for your area of interest. thanks, Sven --nextPart3312287.PMbKDDce3f Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAABCgAGBQJMhoN0AAoJEF2HCgfBJntGdYkQALvr+YpSccrJriQDihslXiIp bvw0WE9K05E1D8DjqT9H8vo/qptnGtIFhMQlUB1GsN1JVVmpxE5J6tvEbCZPVcyv uTYEkSkwlBDJe6sSEApqLSc8fkZR4dn882pgJTm32cRN3M843eFy80g3MJ39TnZh 6UhHK5rh/WI/p6Q+GXX/LMYbrBqWgGMK4yssv3dDTHohRXOa8Y4nwlGBesmuJgbM BizlL04XY7iDUv4npHl/jV0xE292wP/QZet2HvszlQmWJDDtGAU9Yc8wP002Py+z pBvcJSH3K5UCX5Ab1V8R6htCMOY/Jp7OTKqOMFq5EEdRMqHdeiOTXH3+iPj5DzJG 2NJuACyN1Gtk4chOnlFHSE2F21FflI9JDOmwmpP2VqnC1Pl7pKlzyhsuwgv+9ww4 rYXPPkmWJZBLYeQvE79mxRp7GwE62X7ZNLRPirSdZtYoZyWIOUAqYYHLMJqe/PwM 8wxT+obzrJf/6FIXs9gOVIeWY2oEloqTEJ2IPVAPawF1IBgzG5Abhn8xfB6+GrxI fEdlHzIr9XPsFef/xZ8vDTH/CoK9HNTxMUe9D/rB0XJxssf7pxWd1c58V9B36bB7 8b+b7yECXAhCa79XWhiWI4081dp8eVy+FR1tywZHoozrBsPdZ8y6vpLtgUbNgj43 0MycGskEVE/HjxnZ60ut =SZ2s -----END PGP SIGNATURE----- --nextPart3312287.PMbKDDce3f--