[Skiboot] [PATCH v2] opal-prd: Have a worker process handle page offlining

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Thu Sep 24 15:44:35 AEST 2020


On 9/23/20 11:42 AM, Oliver O'Halloran wrote:
> The memory_error() hservice interface expects the memory_error() call to
> just accept the offline request and return without actually offlining the
> memory. Currently we will attempt to offline the marked pages before
> returning to HBRT which can result in an excessively long time spent in the
> memory_error() hservice call which blocks HBRT from processing other
> errors. Fix this by adding a worker process which performs the page
> offlining via the sysfs memory error interfaces.
> 
> Signed-off-by: Oliver O'Halloran <oohall at gmail.com>

Looks good to me.

Reviewed-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>

-Vasant


More information about the Skiboot mailing list