Skip to content

Commit 15ace05

Browse files
committed
memory/SlicePool: round total area size to HUGE_PAGE_SIZE
Decreasing the fb_pool per-area count to 255 to avoid rounding 8 MB up to 10 MB.
1 parent 6c80d2b commit 15ace05

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

debian/changelog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ cm4all-beng-proxy (21.13) unstable; urgency=low
22

33
* translation: reject duplicate CACHE_TAGs
44
* add option "populate_io_buffers"
5+
* fix Transparent Huge Page alignment of I/O buffers
56

67
--
78

src/memory/fb_pool.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fb_pool_init() noexcept
1414
{
1515
assert(fb_pool == nullptr);
1616

17-
fb_pool = new SlicePool(FB_SIZE, 256, "io_buffers");
17+
fb_pool = new SlicePool(FB_SIZE, 255, "io_buffers");
1818
}
1919

2020
void

0 commit comments

Comments
 (0)