Jiri Kosina <jkosina@suse.cz> writes:At some point -- but that was before queued locks -- I noticed that for i386 spin unlocks the call sequence for the sub function is actually larger in code than the actual spin unlock operation and for x86-64 it was about the same. That was not even counting any negative register allocation effects the call has on the caller. Spinlocks don't clobber a lot of registers, but the compiler doesn't know that when calling the function so it has to assume all ABI callee clobbered are gone. I didn't do anything back then because at this point Ingo was reorganizing the spinlock code hourly[1] for his lockdep etc. merge and wanted to wait for it to settle down and then it dropped from the radar. Anyways without queued spinlocks that has probably changed again, might be still worth rechecking. -Andi [1] ok I'm exaggerating... --
| Fred . | Please add ZFS support (from GPL sources) |
| Kristen Carlson Accardi | Re: PCIe Hotplug: NFG unless I boot with card already inserted. |
| Linus Torvalds | Re: [GIT]: Networking |
| Chuck Ebbert | Why do so many machines need "noapic"? |
git: | |
| Petr Baudis | Re: Cogito: cg-clone doesn't like packed tag objects |
| Andreas Ericsson | Re: [PATCH] git-merge: add option --no-ff |
| Junio C Hamano | GIT 0.99.6 |
| Wayne Scott | git-diff-tree rename detection bug |
| Unix Fan | Re: Vulnerability Note VU#800113 - Multiple DNS implementations vulnerable to cach... |
| Edd Barrett | Iwi, wireless bad behavior |
| jose thomas | Resume - Mumps Developer |
| Girish Venkatachalam | Ethernet jumbo frames? |
| der Mouse | Re: mjf-devfs2 branch |
| Ian Zagorskih | POSIX timer_settime() dosn't set timer in some cases (lost accuracy) |
| Christos Zoulas | Re: Melting down your network [Subject changed] |
| Gregory McGarry | Re: Lock benchmarks |
