Files
scylladb/utils
Glauber Costa 3b53f922a3 logalloc: capture current scheduling group for deferring function
When we call run_when_memory_available, it is entirely possible that
the caller is doing that inside a scheduling_group. If we don't defer
we will execute correctly. But if we do defer, the current code will
execute - in the future - with the default scheduling group.

This patch fixes that by capturing the caller scheduling group and
making sure the function is executed later using it.

Signed-off-by: Glauber Costa <glauber@scylladb.com>
2018-03-20 16:58:35 -04:00
..
2017-04-17 23:03:15 +03:00
2017-05-17 12:30:03 +03:00
2016-09-28 17:34:16 +03:00
2017-09-18 12:44:05 +02:00
2018-02-26 14:35:13 +02:00
2017-03-02 09:05:10 +00:00