File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 45
45
46
46
#define PG_DYNSHMEM_CONTROL_MAGIC 0x9a503d32
47
47
48
- /*
49
- * There's no point in getting too cheap here, because the minimum allocation
50
- * is one OS page, which is probably at least 4KB and could easily be as high
51
- * as 64KB. Each currently sizeof(dsm_control_item), currently 8 bytes.
52
- */
53
48
#define PG_DYNSHMEM_FIXED_SLOTS 64
54
- #define PG_DYNSHMEM_SLOTS_PER_BACKEND 2
49
+ #define PG_DYNSHMEM_SLOTS_PER_BACKEND 5
55
50
56
51
#define INVALID_CONTROL_SLOT ((uint32) -1)
57
52
Original file line number Diff line number Diff line change 74
74
* dsm.c's limits on total number of segments), or limiting the total size
75
75
* an area can manage when using small pointers.
76
76
*/
77
- #define DSA_NUM_SEGMENTS_AT_EACH_SIZE 4
77
+ #define DSA_NUM_SEGMENTS_AT_EACH_SIZE 2
78
78
79
79
/*
80
80
* The number of bits used to represent the offset part of a dsa_pointer.
You can’t perform that action at this time.
0 commit comments