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
edea7f6b
Unverified
Commit
edea7f6b
authored
Dec 14, 2023
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify allocation failure
parent
1a6c3343
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
buddy.h
src/buddy.h
+4
-1
No files found.
src/buddy.h
View file @
edea7f6b
...
...
@@ -595,6 +595,9 @@ typedef void buddy_pool_fill_f(struct buddy_reqs *, const void *);
/*
* i < 3: If both reqs are empty, at iteration 3 we
* must hit the first filled alloc
*
* The XXXAN() (failed allocation) can trigger during load from
* fellow_log_memfail()
*/
#define BUDDY_POOL_GET_FUNC(name, decl) \
decl struct buddy_reqs * \
...
...
@@ -611,7 +614,7 @@ name ## _get(struct name *poolp, const void *priv) \
CHECK_OBJ_NOTNULL(reqs, BUDDY_REQS_MAGIC); \
if (buddy_reqs_next_ready(reqs)) \
return (reqs); \
(void) BUDDYF(alloc_async_wait)(reqs
); \
XXXAN(BUDDYF(alloc_async_wait)(reqs)
); \
if (buddy_reqs_next_ready(reqs)) \
return (reqs); \
BUDDYF(alloc_wait_done)(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