The Samba-Bugzilla – Attachment 16298 Details for
Bug 14540
talloc_set_memlimit causes all reallocs to fail when used on pools.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add note in doxygen about how memlimit interacts with pools
0003-Add-note-on-memlimit-and-pools.patch (text/plain), 1015 bytes, created by
Arran Cudbard-Bell
on 2020-10-21 23:55:50 UTC
(
hide
)
Description:
Add note in doxygen about how memlimit interacts with pools
Filename:
MIME Type:
Creator:
Arran Cudbard-Bell
Created:
2020-10-21 23:55:50 UTC
Size:
1015 bytes
patch
obsolete
>From 0f5293f8777534d4048a370510ca5311889bc624 Mon Sep 17 00:00:00 2001 >From: Arran Cudbard-Bell <a.cudbardb@freeradius.org> >Date: Tue, 20 Oct 2020 14:48:35 -0500 >Subject: [PATCH] Add note on memlimit and pools > >Signed-off-by: Arran Cudbard-Bell <a.cudbardb@freeradius.org> >--- > lib/talloc/talloc.h | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/lib/talloc/talloc.h b/lib/talloc/talloc.h >index 0154bf3bbf6..bd88c056e7a 100644 >--- a/lib/talloc/talloc.h >+++ b/lib/talloc/talloc.h >@@ -1920,6 +1920,10 @@ void talloc_set_log_stderr(void); > * move causes the new parent to exceed its limits. However > * any further allocation on that hierarchy will then fail. > * >+ * @note When used with pools talloc memlimit will apply only to memory >+ * allocated outside of the pool. All allocations up to the size >+ * of the pool will succeed irrespective of any memlimit set. >+ * > * @warning talloc memlimit functionality is deprecated. Please > * consider using cgroup memory limits instead. > * >-- >2.28.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 14540
:
16296
|
16297
| 16298 |
16313
|
16314