|
From: | Alex Bennée |
Subject: | Re: [RFC PATCH 00/40] Toward class init of cpu features |
Date: | Sat, 07 Jan 2023 10:19:12 +0000 |
User-agent: | mu4e 1.9.11; emacs 29.0.60 |
Richard Henderson <richard.henderson@linaro.org> writes: > On 1/6/23 15:43, Alex Bennée wrote: >> What about cloning objects after they are realised? After all that is >> what we do for the core CPUClass in user-mode. > > No we don't. Where do you get that idea? Well linux-user does cpu_copy which involves a create step followed by a reset and then a bunch of copying state across. Can we assume all CPUs get reset before they are actively used? Would it be too hacky to defer the creation of those hash tables to the reset phase and skip it if already defined? -- Alex Bennée Virtualisation Tech Lead @ Linaro
[Prev in Thread] | Current Thread | [Next in Thread] |