[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 0/2] xen: sched/Credit2: small and trivial improvements
Namely: 1. get rid of cpumask_weight() in hot paths, in Credit2; 2. checking whether prev==next in context_switch() is pointless. Regards, Dario --- Dario Faggioli (2): xen: credit2: avoid using cpumask_weight() in hot-paths xen: sched: we never get into context_switch() with prev==next xen/arch/arm/domain.c | 3 +-- xen/arch/x86/domain.c | 22 ++++++++-------------- xen/common/sched_credit2.c | 21 ++++++++++++++++----- 3 files changed, 25 insertions(+), 21 deletions(-) -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ------------------------------------------------------------------- <<This happens because _I_ choose it to happen!>> (Raistlin Majere) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |