[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [BUG] xenstat_vcpu_ns returns invalid value



2020-01-09 21:10 időpontban Andrew Cooper ezt írta:
On 09/01/2020 20:09, Richard Kojedzinszky wrote:
2020-01-09 20:50 időpontban Andrew Cooper ezt írta:
On 09/01/2020 19:40, Richard Kojedzinszky wrote:
Dear Xen Devs,

commit 2529c850ea48f036727ca2f148caed89391311b8 introduces the
XEN_RUNSTATE_UPDATE marker bit, which is not handled in
vcpu_runstate_get() in xen/common/schedule.c. Relevant code:

    delta = NOW() - runstate->state_entry_time;
    if ( delta > 0 )
        runstate->time[runstate->state] += delta;

That was found and fixed a while ago.  c/s f28c4c4c10 "sched: don't let
XEN_RUNSTATE_UPDATE leak into vcpu_runstate_get()".

No changes in userspace should be necessary, although you might need to
pester your distro for backports.

~Andrew

Hi,

Thanks for the quick reply,

Then, as it is just a leak, until a backport arrives to my distro, I
can mask out that bit from the results with no other side-effects, am
I right?

Yes - that should be safe.

~Andrew

Hi,

Many thanks, I will do that.

Regards,
Richard

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.