Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2233650pxb; Sat, 2 Oct 2021 10:23:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgHNLhdt0/ApCdSWA1XTVdMk4oTUS+E2E3PutRqKXL0KmRLIgKxXI/lj6kJOgTVIKRwztW X-Received: by 2002:a17:906:cc4a:: with SMTP id mm10mr5391696ejb.384.1633195398346; Sat, 02 Oct 2021 10:23:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633195398; cv=none; d=google.com; s=arc-20160816; b=yzjAtOE6S6gKqrUVyJC7Sm/9aeYZADoxvNR/Foc5/tYbCuYO+zIp5tgP6t2bDTsj2M eTy2T/uHXrEouq9IN85JbcpegiJf49rIN+mmppx+3dvFyKnidSsF4Ig8DN1mv4OVl8Nc XbsqyV7rZKjFL98nzay2w5PAG2tXGwM85LgfyH3vG/B5WUKgHO6/eBKPndZd933wGNRz 29EteuEDLXQu772DueC/UZxa4Xg559YczV3YR8sZCSjDZTMjtB+Rxcp46faSLHVe2Rbf tqooeqeH1SNbloGwh5brsqZke+mD0hCwR4iqElLCVkpeok16BOn+w36GgIbOpBArxwF5 fwlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bqShy79e/Z6K5vfk14zyDLtX0I5IPDlQiZpIZhz37d8=; b=Hb6A1ClZE4RKk61aNseC95v9CW+I7Eky7qJHDq00iZyKQFIPQKRuwGcZPlnikvBBwT rmM7zKHhpdOk4Ww3JDEa1IELmHe31YpNl9TMafugOwGbCtdLxYeoH6HZ/aCHxVDbMGmA ncBFBk49ktZaujxDloXjKB5+ZvamP4LeA2pTlapOcTgtOxf5nUCTEk+AT8R19E3L8wkk HRVkIv3l5YT/FIDdpkjJISfsHioqs07xdrQpEd1BhwyliGqjAwqdfQIV9rKWALzCePmc m3OITBWggnKBBKxCG61RJieycFz76QlGHUEFe5TTArhUHGJRYBB0djckcQLq4xkRn6s/ sPdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=GcMWFnNk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hp35si19193095ejc.307.2021.10.02.10.22.53; Sat, 02 Oct 2021 10:23:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=GcMWFnNk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233642AbhJBRSm (ORCPT + 99 others); Sat, 2 Oct 2021 13:18:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233451AbhJBRSl (ORCPT ); Sat, 2 Oct 2021 13:18:41 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 804DFC0613EC for ; Sat, 2 Oct 2021 10:16:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=bqShy79e/Z6K5vfk14zyDLtX0I5IPDlQiZpIZhz37d8=; b=GcMWFnNkUKLx/mRl8xq1PX+bU5 EDLMvoLX89jugtardbhC1/9q6x/xHccn1pK6+RpNG48SSwRchXjKo22uklJMATbzE4j17dDHSGUD9 ozMLLgnboaT9CjjiCa21/qIJcktW/4pO9Q/gL+s2jE5Vf4yhvsSMgCYBBDglLnclLhpVHmYUg+SvR f3FwSu8h22ioKbLZ/S4UQJYkpWgn2HxOEUOiTTJ8YyWrAvXb+aAFNEd1Q1KlcPzNgDWMDiNwfEoLd rR+MnH5pRFDcijbBI4RqeGoAipy1eRLYKgdQXWP++ojX3S62bpAx7KXgmogdNOJdUtW2bBbp6iWZk JCLBgM/A==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mWicA-00FEXG-Av; Sat, 02 Oct 2021 17:16:10 +0000 Date: Sat, 2 Oct 2021 18:15:58 +0100 From: Matthew Wilcox To: Eric Dumazet Cc: Andrew Morton , Eric Dumazet , linux-kernel , linux-mm , syzbot , "Huang, Ying" , Mel Gorman Subject: Re: [PATCH v2] mm/mempolicy: do not allow illegal MPOL_F_NUMA_BALANCING | MPOL_LOCAL in mbind() Message-ID: References: <20211001215630.810592-1-eric.dumazet@gmail.com> <20211001154949.98956c092734590e781ce672@linux-foundation.org> 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 Fri, Oct 01, 2021 at 04:37:40PM -0700, Eric Dumazet wrote: > > > Issue came with commit bda420b98505 ("numa balancing: migrate on > > > fault among multiple bound nodes") > > > > No cc:stable? What's the worst-case user-visible impact here? > > I added the more precise tag : Fixes: bda420b98505 ("numa balancing: > migrate on fault among multiple bound nodes") > I only put Fixes: tag, so that stable teams can use their automation just fine. > > worst-case impact, I am not sure if any application ever used this > undocumented combinations of flags ? > Also, it is generally advised that accessing garbage values has > undocumented behavior. > A host could for example crash (it certainly does with KMSAN) mm has special stable rules; fixes only get backported if explicitly requested instead of automatically like most of the rest of the kernel.