Re: [PATCH 00/12] Convert cpu_up/down to device_online/offline
From: Thomas Gleixner <hidden>
Date: 2019-11-18 20:31:31
Also in:
xen-devel
From: Thomas Gleixner <hidden>
Date: 2019-11-18 20:31:31
Also in:
xen-devel
On Mon, 18 Nov 2019, Qais Yousef wrote:
I had to make an educated guess that you're probably the 'maintainer' of cpu hotplug - but there's no explicit entry that says that. Please let me know if I need to bring the attention of others too.
:)
The series do have few rough edges to address, but it's relatively
straightforward and I think does offer a nice improvement in the form of
consolidating the API for bringing up/down cpus from external
subsystems/drivers. Beside fix the inconsistency of device's core view of the
state of the cpu which can happen when cpu_{up/down} are called directly.
The downside I see is that the external API to bring cpus up/down for
suspend/resume and at boot seem to have grown a bit organically (I've added
a couple in this series to address 2 direct users of cpu_{up,down}). We might
need to rethink this API, but I think this is outside the scope of this series.
Any thoughts/feedback would be appreciated.Let me have a look.