forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7b745d8
committed
Split use of SerialSLRULock, creating SerialControlLock
predicate.c has been using SerialSLRULock (the control lock for its SLRUstructure) to coordinate access to SerialControlData, another of itsnumerous shared memory structures; this is unnecessary and confusesfurther SLRU scalability work. Create a separate LWLock to coverSerialControlData.Extracted from a larger patch from the same author, and some additionalchanges by Álvaro.Author: Dilip Kumar <dilip.kumar@enterprisedb.com>Discussion:https://postgr.es/m/CAFiTN-vzDvNz=ExGXz6gdyjtzGixKSqs0mKHMmaQ8sOSEFZ33A@mail.gmail.com1 parent776621a commit7b745d8
File tree
3 files changed
+32
-11
lines changed- src/backend
- storage/lmgr
- utils/activity
3 files changed
+32
-11
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
| 60 | + |
Lines changed: 30 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
137 | 142 |
| |
138 | 143 |
| |
139 | 144 |
| |
| |||
828 | 833 |
| |
829 | 834 |
| |
830 | 835 |
| |
| 836 | + | |
831 | 837 |
| |
832 | 838 |
| |
833 | 839 |
| |
| 840 | + | |
834 | 841 |
| |
835 | 842 |
| |
836 | 843 |
| |
| |||
852 | 859 |
| |
853 | 860 |
| |
854 | 861 |
| |
855 |
| - | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
856 | 868 |
| |
857 | 869 |
| |
858 | 870 |
| |
| |||
886 | 898 |
| |
887 | 899 |
| |
888 | 900 |
| |
| 901 | + | |
| 902 | + | |
889 | 903 |
| |
890 | 904 |
| |
891 | 905 |
| |
| |||
903 | 917 |
| |
904 | 918 |
| |
905 | 919 |
| |
| 920 | + | |
906 | 921 |
| |
907 | 922 |
| |
908 | 923 |
| |
| |||
920 | 935 |
| |
921 | 936 |
| |
922 | 937 |
| |
923 |
| - | |
| 938 | + | |
924 | 939 |
| |
925 | 940 |
| |
926 |
| - | |
| 941 | + | |
927 | 942 |
| |
928 | 943 |
| |
929 | 944 |
| |
| |||
954 | 969 |
| |
955 | 970 |
| |
956 | 971 |
| |
957 |
| - | |
| 972 | + | |
958 | 973 |
| |
959 | 974 |
| |
960 | 975 |
| |
| |||
966 | 981 |
| |
967 | 982 |
| |
968 | 983 |
| |
969 |
| - | |
| 984 | + | |
970 | 985 |
| |
971 | 986 |
| |
972 | 987 |
| |
| |||
984 | 999 |
| |
985 | 1000 |
| |
986 | 1001 |
| |
987 |
| - | |
| 1002 | + | |
988 | 1003 |
| |
989 | 1004 |
| |
990 | 1005 |
| |
| |||
993 | 1008 |
| |
994 | 1009 |
| |
995 | 1010 |
| |
996 |
| - | |
| 1011 | + | |
997 | 1012 |
| |
998 | 1013 |
| |
999 | 1014 |
| |
| |||
1007 | 1022 |
| |
1008 | 1023 |
| |
1009 | 1024 |
| |
1010 |
| - | |
| 1025 | + | |
1011 | 1026 |
| |
1012 | 1027 |
| |
1013 | 1028 |
| |
1014 | 1029 |
| |
1015 |
| - | |
| 1030 | + | |
1016 | 1031 |
| |
1017 | 1032 |
| |
1018 | 1033 |
| |
| |||
1072 | 1087 |
| |
1073 | 1088 |
| |
1074 | 1089 |
| |
1075 |
| - | |
| 1090 | + | |
1076 | 1091 |
| |
1077 |
| - | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
1078 | 1097 |
| |
1079 | 1098 |
| |
1080 | 1099 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
331 | 331 |
| |
332 | 332 |
| |
333 | 333 |
| |
| 334 | + | |
334 | 335 |
| |
335 | 336 |
| |
336 | 337 |
| |
|
0 commit comments
Comments
(0)