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

Re: [Xen-devel] [PATCH v1 2/5] xen: sched: null: don't assign down vcpus to pcpus


  • To: "george.dunlap@xxxxxxxxxx" <george.dunlap@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Dario Faggioli <dfaggioli@xxxxxxxx>
  • Date: Tue, 16 Jul 2019 10:50:36 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=suse.com;dmarc=pass action=none header.from=suse.com;dkim=pass header.d=suse.com;arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MtBywd5QpjfSRunJtUTreIoDedDvEd73z7vgWRcuvrk=; b=jKGFib0l4D04Op1M5b3J5kUPpcnttTiAmtBxDtvXyeiVBBGJgOtC6kd69AT+ASBvwb+jGqoxl0pZnci6ZDjvNJtl/qb2n5p5XSQpQEWnWqf/NEc7jVuwOFaQgTyjaDtdl4w9ha3+6l39ZTxR5LspTbB+RgHrFbOKKs5jckXhbZssBiqYrusPLezRYpq5MfyyvuO6uRPaD2d5PwV+vD73bq3l+9Opko0Vb/RReBR4RgdNsaPf2Jn/MU2vrFD5M79GopL72c6bn3SjWpcTF6phcBrQVJ9xDGAcpB957F51QOUUNEzyTmLbt3gHUwRBHpubmsn+Hysl+dxvZmNOUs3ZaQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=foKIufQAOKanVXnh+DV9iVakcdgQrkSj/RpP2tvXbMk3+SD3fzc3LuVIr49cnDJv/W4UrraCG1XzQO6KwoumFjrhmc2fxwvPX5k7SXQaA6bLci0iFnOC2bnKFHxuwn5QhBvj6hgblOF4f9+qXQa6GlmP3l/u9MfJzKtxBki0LfiHbs/CwEWXoHr3rnC/LL3Hf34r5VHstQm8tsC+hmo/sQ2uM0eDt3T92tcHMaZJMzWXsF3ZLQw+UGfZmSUNxlmbxu/wSmZZXJLtn9fLFCgp0rQYJ7QXkczVd604lzzoCAqhFI7PQMd4wvskRGEDkHZBqT5Q9NS4SeTM3vyDZJBYQw==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=dfaggioli@xxxxxxxx;
  • Cc: "george.dunlap@xxxxxxxxxxxxx" <george.dunlap@xxxxxxxxxxxxx>, "sstabellini@xxxxxxxxxx" <sstabellini@xxxxxxxxxx>, "roger.pau@xxxxxxxxxx" <roger.pau@xxxxxxxxxx>
  • Delivery-date: Tue, 16 Jul 2019 10:53:19 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVOydXzSui4XMVAEeMf8BdnFoTaabNEkcA
  • Thread-topic: [Xen-devel] [PATCH v1 2/5] xen: sched: null: don't assign down vcpus to pcpus

On Mon, 2019-07-15 at 17:06 +0100, George Dunlap wrote:
> On 8/25/18 1:21 AM, Dario Faggioli wrote:
> > If a pCPU has been/is being offlined, we don't want it to be
> > neither
> > assigned to any pCPU, nor in the wait list.
> 
> I take it the first `pCPU` should be `vCPU`?
> 
Indeed. :-)

> Also, English grammar agreement is funny: `neither` needs to agree
> with
> `nor`, but the two do *not* agree with the original verb.  That is,
> the
> sentence should say:
> 
> "...we want it to be neither assigned to pCPU, nor in the wait list".
> 
Yep, now that I see it, this rings a bell back from my high-school
English class! :-O

Sorry... and thanks. :-)

> Both here and in the comment.
>
And in patch 3 changelog too, I'm afraid. :-P

> The other thing is, from a "developmental purity" point of view, I
> think
> this series technically has a regression in the middle: cpu offline /
> online stops working between patch 2 and patch 4.  But I'm inclined
> in
> this case not to worry too much. :-)
> 
Well, the point is that offlining/onlining does not work before this
series. System does not crash, but behavior is wrong, as offline vCPUs
stay assigned to pCPUs (keeping them idle) while online vCPUs are
"trapped" in the wait list, which is wrong.

So that's why I don't think there's much value in being consistent with
such behavior throughout the series... which I guess is why you said
you "won't worry too much in this case" ?

Thanks and Regards
-- 
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)

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
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®.