[lkml]   [2020]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v4 3/7] mm,hwpoison: Try to narrow window race for free pages
On Thu, Sep 17, 2020 at 10:10:45AM +0200, Oscar Salvador wrote:
> Aristeu Rozanski reported that a customer test case started
> to report -EBUSY after the hwpoison report patchset.
> There is a race window between spotting a free page and taking it off
> its buddy freelist, so it might be that by the time we try to take it off,
> the page has been already allocated.
> This patch tries to handle such race window by trying to handle the new
> type of page again if the page was allocated under us.
> After this patch, Aristeu said the test cases work properly.
> Signed-off-by: Oscar Salvador <>
> Reported-by: Aristeu Rozanski <>

Tested-by: Aristeu Rozanski <>


 \ /
  Last update: 2020-09-18 21:34    [W:0.089 / U:0.660 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site