From 0f5293f8777534d4048a370510ca5311889bc624 Mon Sep 17 00:00:00 2001 From: Arran Cudbard-Bell Date: Tue, 20 Oct 2020 14:48:35 -0500 Subject: [PATCH] Add note on memlimit and pools Signed-off-by: Arran Cudbard-Bell --- 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