On Thu, Sep 20, 2007 at 10:52:43AM +0200, Nadia Derbey wrote:... Yes, you are 100% right and I'm 90% lier, 10% blind (maybe backward too). Do I've to tell the truth...? Since this whole locking scheme is really quite a puzzle, and needs more than one or two looks to figure it out, I'd better try stop to discredit myself more. Anyway it looks to me like the most sophisticated way of achieving locklessness I've seen so far. I hope, there is still some gain after this RCU + refcounting vs. simple locking. (It seems somebody had similar doubts writing the "Lockless receive, part 1:" comment in do_msgrcv(); and probably again I'm very wrong, but this checking of validity of RCU protected structure with an r_msg value, which is done to avoid refcounting, looks like not very different and has some cost too). Regards, Jarek P. -
| Andrew Morton | -mm merge plans for 2.6.23 |
| Benjamin Herrenschmidt | Re: [PATCH] Remove process freezer from suspend to RAM pathway |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Mel Gorman | [PATCH 6/8] x86_64 - Specify amount of kernel memory at boot time |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Jarek Poplawski | Re: Soft-Lockup/Race in networking in 2.6.31-rc1+195 ( possibly?caused by netem) |
