Commit 9d41431
Kyle Kearney
TDBStore: Fix potential alignment issue in default addresses
When 10 pages is larger than 2 sectors, align the selected size
down to be an even multiple of the sector size, to ensure that
the allocated space divides cleanly in half for garbage collection.1 parent 7cd4d11 commit 9d41431
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1439 | 1439 | | |
1440 | 1440 | | |
1441 | 1441 | | |
1442 | | - | |
| 1442 | + | |
| 1443 | + | |
1443 | 1444 | | |
1444 | 1445 | | |
1445 | 1446 | | |
| |||
1453 | 1454 | | |
1454 | 1455 | | |
1455 | 1456 | | |
1456 | | - | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
1457 | 1460 | | |
1458 | 1461 | | |
1459 | 1462 | | |
| |||
0 commit comments