On Thu, Aug 06, 2020 at 06:49:23PM +0000, nao.horigu...@gmail.com wrote:
> From: Naoya Horiguchi <naoya.horigu...@nec.com>
> 
> Soft offlining could fail with EIO due to the race condition with
> hugepage migration. This issuse became visible due to the change by
> previous patch that makes soft offline handler take page refcount
> by its own.  We have no way to directly pin zero refcount page, and
> the page considered as a zero refcount page could be allocated just
> after the first check.
> 
> This patch adds the second check to find the race and gives us
> chance to handle it more reliably.
> 
> Reported-by: Qian Cai <c...@lca.pw>
> Signed-off-by: Naoya Horiguchi <naoya.horigu...@nec.com>

Reviewed-by: Oscar Salvador <osalva...@suse.de>

-- 
Oscar Salvador
SUSE L3

Reply via email to