Liste des Groupes | Revenir à c arch |
I'm not so sure about making the memory lock granularity same asJust make sure you never have multiple locks residing inside the same cache line!
cache line size but that's an implementation decision I guess.
I do like the idea of detecting potential contention at theI do prefer LOCK XADD instead of CAS (CmpXchg*), because the return value will also tell you which queue entry to pick/work on.
start of LL/SC so you can do back off. Right now the only way I
can detect contention is after the fact when the CAS fails and
I probably have the cache line exclusive at that point. It's
pretty problematic.
Date | Sujet | # | Auteur | |
2 Sep 24 | arm ldxr/stxr vs cas | 58 | jseigh | |
2 Sep 24 | Re: arm ldxr/stxr vs cas | 4 | Chris M. Thomasson | |
2 Sep 24 | Re: arm ldxr/stxr vs cas | 3 | Chris M. Thomasson | |
2 Sep 24 | Re: arm ldxr/stxr vs cas | 2 | jseigh | |
2 Sep 24 | Re: arm ldxr/stxr vs cas | 1 | Chris M. Thomasson | |
4 Sep 24 | Re: arm ldxr/stxr vs cas | 50 | MitchAlsup1 | |
5 Sep 24 | Re: arm ldxr/stxr vs cas | 3 | Chris M. Thomasson | |
5 Sep 24 | Re: arm ldxr/stxr vs cas | 2 | MitchAlsup1 | |
5 Sep 24 | Re: arm ldxr/stxr vs cas | 1 | Chris M. Thomasson | |
5 Sep 24 | Re: arm ldxr/stxr vs cas | 46 | jseigh | |
5 Sep 24 | Re: arm ldxr/stxr vs cas | 1 | Anton Ertl | |
5 Sep 24 | Re: arm ldxr/stxr vs cas | 44 | MitchAlsup1 | |
5 Sep 24 | Re: arm ldxr/stxr vs cas | 43 | Chris M. Thomasson | |
5 Sep 24 | Re: arm ldxr/stxr vs cas | 42 | jseigh | |
6 Sep 24 | Re: arm ldxr/stxr vs cas | 1 | MitchAlsup1 | |
6 Sep 24 | Re: arm ldxr/stxr vs cas | 20 | Chris M. Thomasson | |
6 Sep 24 | Re: arm ldxr/stxr vs cas | 19 | MitchAlsup1 | |
7 Sep 24 | Re: arm ldxr/stxr vs cas | 18 | jseigh | |
8 Sep 24 | Re: arm ldxr/stxr vs cas | 17 | Chris M. Thomasson | |
8 Sep 24 | Re: arm ldxr/stxr vs cas | 16 | Chris M. Thomasson | |
8 Sep 24 | Re: arm ldxr/stxr vs cas | 15 | Chris M. Thomasson | |
8 Sep 24 | Re: arm ldxr/stxr vs cas | 14 | MitchAlsup1 | |
8 Sep 24 | Re: arm ldxr/stxr vs cas | 4 | Chris M. Thomasson | |
8 Sep 24 | Re: arm ldxr/stxr vs cas | 1 | Chris M. Thomasson | |
8 Sep 24 | Re: arm ldxr/stxr vs cas | 2 | jseigh | |
8 Sep 24 | Re: arm ldxr/stxr vs cas | 1 | Chris M. Thomasson | |
8 Sep 24 | Re: arm ldxr/stxr vs cas | 9 | Chris M. Thomasson | |
8 Sep 24 | Re: arm ldxr/stxr vs cas | 6 | Michael S | |
8 Sep 24 | Re: arm ldxr/stxr vs cas | 1 | Chris M. Thomasson | |
8 Sep 24 | Re: arm ldxr/stxr vs cas | 1 | Chris M. Thomasson | |
9 Sep 24 | Re: arm ldxr/stxr vs cas | 3 | Michael S | |
9 Sep 24 | Re: arm ldxr/stxr vs cas | 2 | Michael S | |
9 Sep 24 | Re: arm ldxr/stxr vs cas | 1 | Michael S | |
8 Sep 24 | Re: arm ldxr/stxr vs cas | 1 | MitchAlsup1 | |
8 Sep 24 | Re: arm ldxr/stxr vs cas | 1 | Chris M. Thomasson | |
9 Sep 24 | Re: arm ldxr/stxr vs cas | 20 | Terje Mathisen | |
9 Sep 24 | Re: arm ldxr/stxr vs cas | 11 | jseigh | |
9 Sep 24 | Re: arm ldxr/stxr vs cas | 6 | Chris M. Thomasson | |
10 Sep 24 | Re: arm ldxr/stxr vs cas | 5 | jseigh | |
10 Sep 24 | Re: arm ldxr/stxr vs cas | 4 | Chris M. Thomasson | |
10 Sep 24 | Re: arm ldxr/stxr vs cas | 3 | jseigh | |
11 Sep 24 | Re: arm ldxr/stxr vs cas | 2 | Chris M. Thomasson | |
11 Sep 24 | Re: arm ldxr/stxr vs cas | 1 | Chris M. Thomasson | |
10 Sep 24 | Re: arm ldxr/stxr vs cas | 4 | Terje Mathisen | |
10 Sep 24 | Re: arm ldxr/stxr vs cas | 3 | jseigh | |
10 Sep 24 | Re: arm ldxr/stxr vs cas | 1 | Chris M. Thomasson | |
10 Sep 24 | Re: arm ldxr/stxr vs cas | 1 | Chris M. Thomasson | |
9 Sep 24 | Re: arm ldxr/stxr vs cas | 1 | Chris M. Thomasson | |
11 Sep 24 | Re: arm ldxr/stxr vs cas | 7 | Paul A. Clayton | |
11 Sep 24 | Re: arm ldxr/stxr vs cas | 2 | Chris M. Thomasson | |
11 Sep 24 | Re: arm ldxr/stxr vs cas | 1 | Chris M. Thomasson | |
11 Sep 24 | Re: arm ldxr/stxr vs cas | 2 | jseigh | |
11 Sep 24 | Re: arm ldxr/stxr vs cas | 1 | Chris M. Thomasson | |
11 Sep 24 | Re: arm ldxr/stxr vs cas | 2 | Stefan Monnier | |
12 Sep 24 | Re: arm ldxr/stxr vs cas | 1 | Chris M. Thomasson | |
9 Sep 24 | Re: arm ldxr/stxr vs cas | 3 | jseigh | |
11 Sep 24 | Re: arm ldxr/stxr vs cas | 2 | jseigh | |
11 Sep 24 | Re: arm ldxr/stxr vs cas | 1 | Chris M. Thomasson |
Les messages affichés proviennent d'usenet.