Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
slash
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
slash
Commits
63b3f2d6
Unverified
Commit
63b3f2d6
authored
Dec 14, 2023
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename for clarity
parent
07595322
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
fellow_log.c
src/fellow_log.c
+3
-3
No files found.
src/fellow_log.c
View file @
63b3f2d6
...
...
@@ -409,7 +409,7 @@ assert_seq_macros(void)
} while (0)
// <8K for BUDDY_POOL
#define LBUF_DSK
_RSV_REQS
\
#define LBUF_DSK
POOL_SIZE
\
((((1<<13) - 16) - 2 * sizeof(struct buddy_reqs)) / \
(2 * sizeof(struct i_reqalloc)))
...
...
@@ -417,11 +417,11 @@ assert_seq_macros(void)
static
void
__attribute__
((
constructor
))
assert_lbuf_dsk_resv
(
void
)
{
assert
(
LBUF_DSK
_RSV_REQS
<=
BUDDY_REQS_MAX
);
assert
(
LBUF_DSK
POOL_SIZE
<=
BUDDY_REQS_MAX
);
}
// dsk block pool
BUDDY_POOL
(
lbuf_dskpool
,
LBUF_DSK
_RSV_REQS
);
BUDDY_POOL
(
lbuf_dskpool
,
LBUF_DSK
POOL_SIZE
);
// this is the memory request for dskpool
BUDDY_REQS
(
lbuf_dskpool_mem_s
,
1
);
// mem block pool
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment