Matthew Dillon wrote:> > A patch is appended. lwkt_token_is_stale(lwkt_tokref_t) detects if the token was acquired by another thread while the thread was sleeping. I don't care about tokrefs, instead the granularity is a thread, so that recursive calls to acquire a token within the same thread DO NOT stale out a token. Furthermore the code for UP and SMP is now basically the same, except for spin-locks or preemption issues. That is, I keep a per-thread count instead of the globalcount on UP and maintain thread ownership as well. I noticed that _lwkt_trytokref and _lwkt_gettokref were basically using the same code (it was copy & pasted), so I unified that as well. Regards, Michael
| Linus Torvalds | Linux 2.6.27-rc8 |
| Rafael J. Wysocki | 2.6.27-rc4-git1: Reported regressions from 2.6.26 |
| David Miller | [GIT]: Networking |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
git: | |
| Miklos Vajna | [rfc] git submodules howto |
| Catalin Marinas | Re: [StGIT PATCH] Don't use patches/<branch>/current |
| Lars Hjemli | [ANNOUNCE] cgit 0.8 |
| Junio C Hamano | Re: [RFC] introduce GIT_WORK_DIR environment variable |
| rezidue | Speed Problems |
| Chris | Prolific USB-Serial Controller |
| Richard Daemon | Nfsen and php problems...? |
| Richard Stallman | Real men don't attack straw men |
| Jarek Poplawski | [PATCH take 2] pkt_sched: Protect gen estimators under est_lock. |
| Steve Glendinning | [PATCH] SMSC LAN911x and LAN921x vendor driver |
| Arjan van de Ven | Re: [GIT]: Networking |
| Denys | r8169 crash |
