- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit8ab4241
localbuf: Add Valgrind buffer access instrumentation
This mirrors1e0dfd1 (+46ef520), for temporary table buffers. Thisis mainly interesting right now because the AIO work currently triggersspurious valgrind errors, and the fix for that is cleaner if temp buffersbehave the same as shared buffers.This requires one change beyond the annotations themselves, namely to pinlocal buffers while writing them out in FlushRelationBuffers().Reviewed-by: Noah Misch <noah@leadboat.com>Co-authored-by: Noah Misch <noah@leadboat.com>Discussion:https://postgr.es/m/3pd4322mogfmdd5nln3zphdwhtmq3rzdldqjwb2sfqzcgs22lf@ok2gletdaoe61 parenta13d490 commit8ab4241
2 files changed
+38
-0
lines changedLines changed: 13 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4895 | 4895 |
| |
4896 | 4896 |
| |
4897 | 4897 |
| |
| 4898 | + | |
| 4899 | + | |
| 4900 | + | |
| 4901 | + | |
| 4902 | + | |
| 4903 | + | |
| 4904 | + | |
| 4905 | + | |
| 4906 | + | |
| 4907 | + | |
| 4908 | + | |
4898 | 4909 |
| |
4899 | 4910 |
| |
| 4911 | + | |
| 4912 | + | |
4900 | 4913 |
| |
4901 | 4914 |
| |
4902 | 4915 |
| |
|
Lines changed: 25 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
| |||
183 | 184 |
| |
184 | 185 |
| |
185 | 186 |
| |
| 187 | + | |
| 188 | + | |
186 | 189 |
| |
187 | 190 |
| |
188 | 191 |
| |
| |||
808 | 811 |
| |
809 | 812 |
| |
810 | 813 |
| |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
811 | 823 |
| |
812 | 824 |
| |
813 | 825 |
| |
| |||
843 | 855 |
| |
844 | 856 |
| |
845 | 857 |
| |
| 858 | + | |
| 859 | + | |
| 860 | + | |
846 | 861 |
| |
847 | 862 |
| |
848 | 863 |
| |
| |||
923 | 938 |
| |
924 | 939 |
| |
925 | 940 |
| |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
926 | 951 |
| |
927 | 952 |
| |
928 | 953 |
| |
|
0 commit comments
Comments
(0)