Mike Galbraith wrote:I could get better results with the following solution: wrote an RCU-based idr api (layers allocation is managed similarly to the radix-tree one) Using it in the ipc code makes me get rid of the read lock taken in ipc_lock() (the one introduced in 3e148c79938aa39035669c1cfa3ff60722134535). You'll find the results in attachment (kernel is 2.6.25-rc3-mm1). output.25_rc3_mm1.ref.8 --> pmsg output for the 2.6.25-rc3-mm1 plot.25_rc3_mm1.ref.8 --> previous file results for use by gnuplot output.25_rc3_mm1.ridr.8 --> pmsg output for the 2.6.25-rc3-mm1 + rcu-based idrs plot.25_rc3_mm1.ridr.8 --> previous file results for use by gnuplot I think I should be able to send a patch next week. It is presently an uggly code: I copied idr.c and idr.h into ridr.c and ridr.h to go fast, so didn't do any code factorization. Regards Nadia
| Andrew Morton | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Rafael J. Wysocki | [Bug #11806] iwl3945 fails with microcode error |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Andrew Morton | -mm merge plans for 2.6.23 |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | Re: [GIT]: Networking |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Jeff Kirsher | [RESEND NET-NEXT PATCH 08/20] igb: Introduce multiple TX queues with infrastructure |
