]> xenbits.xensource.com Git - xen.git/commit
xen/sched: carve out memory allocation and freeing from schedule_cpu_rm()
authorJuergen Gross <jgross@suse.com>
Mon, 5 Sep 2022 07:00:04 +0000 (09:00 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 5 Sep 2022 10:42:30 +0000 (11:42 +0100)
commitd42be6f83480b3ada286dc18444331a816be88a3
tree1e81a0e93cbadac9034dc8f698a926d831764655
parenta83fa1e2b96ace65b45dde6954d67012633a082b
xen/sched: carve out memory allocation and freeing from schedule_cpu_rm()

In order to prepare not allocating or freeing memory from
schedule_cpu_rm(), move this functionality to dedicated functions.

For now call those functions from schedule_cpu_rm().

No change of behavior expected.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/sched/core.c
xen/common/sched/private.h