From: Michael Bringmann <mwb@linux.vnet.ibm.com>
To: linuxppc-dev@lists.ozlabs.org,
Nathan Fontenot <nfont@linux.vnet.ibm.com>,
Michael Ellerman <mpe@ellerman.id.au>
Subject: Re: [PATCH V2] powerpc/kernel: Add 'ibm, thread-groups' property for CPU allocation
Date: Mon, 15 Jan 2018 09:01:31 -0600 [thread overview]
Message-ID: <95dc3b09-63f1-e79e-9fc9-56c4b7b1bcdd@linux.vnet.ibm.com> (raw)
In-Reply-To: <87tvvqbi82.fsf@concordia.ellerman.id.au>
On 01/12/2018 08:33 PM, Michael Ellerman wrote:
> Nathan Fontenot <nfont@linux.vnet.ibm.com> writes:
...
>>
>> One thing I don't see addressed in the comments or in the code is
>> migration support. I think we need to update the thread group mask
>> post-migration to reflect the threads per core on the new system.
>
> Normally I'd agree with you, but I don't see any prospect of the kernel
> surviving if the threads per core changes across a migration. We'll have
> data structures allocated based on the old value and things will
> definitely crash if the value increases. If it shrinks maybe we'd get
> away with it, but either way is dicey.
>
> If there's an expectation that we'll be able to migrate between systems
> with different settings then we have a much bigger problem.
>
> cheers
>
>
>From what I recall of my tests a few months ago, the device-tree is read in
and flattened before the kernel starts processing the migration state.
I am trying to get access to a couple of P9 systems on which I may test
migration to verify the ordering of events between initializing the kernel
and post-migration processing.
Regards,
--
Michael W. Bringmann
Linux Technology Center
IBM Corporation
Tie-Line 363-5196
External: (512) 286-5196
Cell: (512) 466-0650
mwb@linux.vnet.ibm.com
next prev parent reply other threads:[~2018-01-15 15:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-08 17:19 [PATCH V2] powerpc/kernel: Add 'ibm,thread-groups' property for CPU allocation Michael Bringmann
2018-01-12 17:16 ` Nathan Fontenot
2018-01-13 2:33 ` [PATCH V2] powerpc/kernel: Add 'ibm, thread-groups' " Michael Ellerman
2018-01-15 15:01 ` Michael Bringmann [this message]
2018-01-27 9:52 ` Michael Ellerman
2018-01-29 15:02 ` [PATCH V2] powerpc/kernel: Add 'ibm,thread-groups' " Michael Bringmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=95dc3b09-63f1-e79e-9fc9-56c4b7b1bcdd@linux.vnet.ibm.com \
--to=mwb@linux.vnet.ibm.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=nfont@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).