acl: perform the ACL-as-a-service user registrations in global heap 95/20295/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Mon, 24 Jun 2019 15:13:06 +0000 (15:13 +0000)
committerDave Barach <openvpp@barachs.net>
Tue, 9 Jul 2019 21:27:59 +0000 (21:27 +0000)
commite4f9556d308ed75b08a2c89925b118e0b7b78abc
treea4fdd84d9059f1b6083a45f0c6ea873c8d8c84fd
parent70f26d5425f72ebf207ad4ca6e83c1b7ff959c18
acl: perform the ACL-as-a-service user registrations in global heap

Some users tend to call registration routine long before they need
that service - which triggers an immediate initialization of
the ACL heap, which is rather big. This commit defers this process
by keeping the registrations in the global heap.

Change-Id: I5825871bd836851942b55184b6ee2657c7a9cc33
Type: fix
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/plugins/acl/acl.c
src/plugins/acl/lookup_context.c