diff options
author | Craig Tiller <ctiller@google.com> | 2017-01-26 15:59:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-26 15:59:51 -0800 |
commit | fa3b130b8188ddac25000c5d7200203152605208 (patch) | |
tree | 3a0c14226c02f8e0d329f8133810456318d2facc | |
parent | 1291fd4b2f9f502f412c3d6cd5dd5fdc18092842 (diff) | |
parent | 5082d7e94264380d135fce54bf71df70b1290c19 (diff) |
Merge pull request #9476 from ctiller/unflatten
Remove slice allocator completion callbacks from global combiner
-rw-r--r-- | src/core/lib/iomgr/resource_quota.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/core/lib/iomgr/resource_quota.c b/src/core/lib/iomgr/resource_quota.c index 31590cd53b..0286309921 100644 --- a/src/core/lib/iomgr/resource_quota.c +++ b/src/core/lib/iomgr/resource_quota.c @@ -804,12 +804,10 @@ void grpc_resource_user_finish_reclamation(grpc_exec_ctx *exec_ctx, void grpc_resource_user_slice_allocator_init( grpc_resource_user_slice_allocator *slice_allocator, grpc_resource_user *resource_user, grpc_iomgr_cb_func cb, void *p) { - grpc_closure_init( - &slice_allocator->on_allocated, ru_allocated_slices, slice_allocator, - grpc_combiner_scheduler(resource_user->resource_quota->combiner, false)); - grpc_closure_init( - &slice_allocator->on_done, cb, p, - grpc_combiner_scheduler(resource_user->resource_quota->combiner, false)); + grpc_closure_init(&slice_allocator->on_allocated, ru_allocated_slices, + slice_allocator, grpc_schedule_on_exec_ctx); + grpc_closure_init(&slice_allocator->on_done, cb, p, + grpc_schedule_on_exec_ctx); slice_allocator->resource_user = resource_user; } |