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
6b3b606e
Unverified
Commit
6b3b606e
authored
Jan 16, 2024
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Separate macro to set the BUDDY_POOL priority
parent
37daeca2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
buddy.h
src/buddy.h
+6
-2
No files found.
src/buddy.h
View file @
6b3b606e
...
...
@@ -649,14 +649,18 @@ name ## _avail(struct name *poolp) \
poolp->fill = f; \
BUDDY_REQS_INIT(&(poolp)->reqs[0], b); \
BUDDY_REQS_INIT(&(poolp)->reqs[1], b); \
BUDDY_REQS_PRI(&(poolp)->reqs[0].reqs, prio); \
BUDDY_REQS_PRI(&(poolp)->reqs[1].reqs, prio); \
BUDDY_POOL_PRI(poolp, prio); \
f(&(poolp)->reqs[0].reqs, p); \
f(&(poolp)->reqs[1].reqs, p); \
(void) BUDDYF(alloc_async)(&(poolp)->reqs[0].reqs); \
(void) BUDDYF(alloc_async)(&(poolp)->reqs[1].reqs); \
} while (0)
#define BUDDY_POOL_PRI(poolp, prio) do { \
BUDDY_REQS_PRI(&(poolp)->reqs[0].reqs, prio); \
BUDDY_REQS_PRI(&(poolp)->reqs[1].reqs, prio); \
} while (0)
#define BUDDY_POOL_FINI(poolp) do { \
CHECK_OBJ_NOTNULL(poolp, BUDDY_POOL_MAGIC); \
BUDDYF(alloc_wait_done)(&((poolp)->reqs[0].reqs)); \
...
...
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