Re: [Xen-devel] [PATCH] xen/sched_rt: Move repl_timer into struct rt_private

2018-01-11 Thread Meng Xu
On Thu, Jan 11, 2018 at 12:00 PM, Andrew Cooper wrote: > > struct timer is only 48 bytes and repl_timer has a 1-to-1 correspondance with > struct rt_private, so having it referenced by pointer is wasteful. > > This avoids one memory allocation in rt_init(), and the

Re: [Xen-devel] [PATCH] xen/sched_rt: Move repl_timer into struct rt_private

2018-01-11 Thread Dario Faggioli
On Thu, 2018-01-11 at 17:00 +, Andrew Cooper wrote: > struct timer is only 48 bytes and repl_timer has a 1-to-1 > correspondance with > struct rt_private, so having it referenced by pointer is wasteful. > > This avoids one memory allocation in rt_init(), and the resulting > diffstat is: > >