> > On Mon, Feb 19, 2018 at 4:13 PM, Alan Cox <gnomes@xxxxxxxxxxxxxxxxxxx> > wrote: > > > > > > In theory there's nothing stopping a guest getting a 'you are about to > > > gain/lose IBRS' message or having a new 'CPU' hotplugged and the old one > > > removed. > > > > I'm not convinced we handle the case of hotplug CPU's with different > > CPU models correctly. > > We don't. And even if we did the user space doesn't. It would be a > painful task to resolve. in a cloud world it ends up being the launch/restart of the VM in reality. Just the JIT caches all over in userspace make this case not pretty. And we as kernel don't even really do mixed cpus without hotplug afaict (other than maybe taking lowest subset, while the case here would be the opposite direction)