Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43254C7EE2D for ; Fri, 3 Mar 2023 15:46:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231349AbjCCPqG (ORCPT ); Fri, 3 Mar 2023 10:46:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231149AbjCCPp6 (ORCPT ); Fri, 3 Mar 2023 10:45:58 -0500 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA01915547 for ; Fri, 3 Mar 2023 07:45:53 -0800 (PST) Received: by mail-pl1-x62e.google.com with SMTP id a2so3088978plm.4 for ; Fri, 03 Mar 2023 07:45:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1677858353; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=XUrdf6MZd4Bc/cJvmEdQo3H49BiVbJ8IWrHGSAtocn8=; b=ZwNAWntDzIXhLpXm+UxGbCquSggabPxjiWTdH07AOEr2F/iKVKFTnQETKg0BevqA7k bThNxmZSXw5veuOs9BBu0bNR+fD13muhVrsY9qEcj+vvkpDEugyTR0eHDsEyNXXc0/iM i/NyOkzs+qrjRIZAf5Lj34GQjUHJpkQhW+Hzb4jMVwD4mbnjpUX7ge4gbuczgAPKYQLU js8zL4+S8HFrEp8PxUt7DHo5q16dMqY4n9Bm04hcpibrN2uee+D1sv9U41OFUItVtcyV OrAQYZCc4Y+JL1iG2FFgP9z5AsIexOSQVzorweoXbYM6IgV9RQXdW1XjnVp0S4sLlSpQ CzBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677858353; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=XUrdf6MZd4Bc/cJvmEdQo3H49BiVbJ8IWrHGSAtocn8=; b=0aDvL0vEYzZsJiXmwHuT24ziZPU/o01UBRGCULJypWrKOoK8LIoURumT0lD9CjSTQp RI/bxE94DjwosMrJ3FyT1tNZAOj9LDJyGX5RISefQVkiLBBUkso3byLY+NJ172QeAH7P lNvjcmYYYtYmutojAZH0rVvAzmlPS+Q3zaY5XsHl/nN6bwUgTPO58mQerzNZVOJzCF5q /MBrome+rbKSane2Zwky3l9VfRhTB1UoAmUggxDlaqoxuzWnPrUmxYjIiCiT1IS+HVEx DyKBc+X6e6EdwsB1/vdvUqgEgj1Jw0zRzaG6Aa7xNgMe69QxssRI8DB2gV505D9Wgwsr aEZw== X-Gm-Message-State: AO0yUKXps4kwqCMpsHoqEgcQWuPNfXFKtt8U6+OpLcBy0nHYDLumnBK/ LmAY91vrgzeemuIfyefS0EXq/w== X-Google-Smtp-Source: AK7set+lCN5F5Cbsep/m67mKpIsN4i0zksZlRs9Hv1GK95z3lis7CUT7+0vY4dJrr8BGtovepGn68A== X-Received: by 2002:a17:903:42cc:b0:199:3909:eaee with SMTP id jy12-20020a17090342cc00b001993909eaeemr279241plb.6.1677858353255; Fri, 03 Mar 2023 07:45:53 -0800 (PST) Received: from google.com (33.5.83.34.bc.googleusercontent.com. [34.83.5.33]) by smtp.gmail.com with ESMTPSA id b21-20020a170902d31500b0019a7d6a9a76sm1689767plc.111.2023.03.03.07.45.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 07:45:52 -0800 (PST) Date: Fri, 3 Mar 2023 07:45:49 -0800 From: Zach O'Keefe To: Peter Xu Cc: David Stevens , linux-mm@kvack.org, Matthew Wilcox , Andrew Morton , "Kirill A . Shutemov" , Yang Shi , David Hildenbrand , Hugh Dickins , linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 0/3] mm/khugepaged: fix khugepaged+shmem races Message-ID: <20230303154549.xli4knfliv4c7gc4@google.com> References: <20230217085439.2826375-1-stevensd@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mar 03 10:35, Peter Xu wrote: > On Fri, Feb 17, 2023 at 05:54:36PM +0900, David Stevens wrote: > > From: David Stevens > > > > Fix two races in khugepaged+shmem that cause issues with userfaultfd and > > lseek, respectively. > > > > v3 -> v4: > > - Base changes on mm-everything (fba720cb4dc0) > > - Add patch to refactor error handling control flow in collapse_file > > - Rebase userfaultfd patch with no significant logic changes > > - Different approach for fixing lseek race > > I just noticed this one hasn't landed unstable, so I guess I just posted a > trivial cleanup that can conflict with this so it won't apply cleanly.. > > https://lore.kernel.org/r/20230303151218.311015-1-peterx@redhat.com > > The resolution will be fairly straightforward though, and I'm happy to > rebase that one to this since this targets a real bug so should have higher > priority. > > I guess it's possible Andrew thought the series has unsettled comment so > Andrew could just have ignored that whole set in the mark ups. A repost > could possibly clarify that. > > Again, it'll always great to get another eye on this slightly involved > series. Matthew / Yang were already on the list, also copying Zach for his > recent works on khugepaged just in case he spots anything wrong. Thanks Peter. My email filters need some tinkering, since I missed this until yesterday when I came across it by chance. Thanks for Cc'ing me. I'm taking a look now, and likewise will if reposted. Best, Zach > > Thanks, > > -- > Peter Xu >