From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41D2AC11F66 for ; Thu, 1 Jul 2021 00:56:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2972D610A7 for ; Thu, 1 Jul 2021 00:56:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238255AbhGAA7H (ORCPT ); Wed, 30 Jun 2021 20:59:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:58182 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238191AbhGAA7E (ORCPT ); Wed, 30 Jun 2021 20:59:04 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A63FF610A7; Thu, 1 Jul 2021 00:56:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1625100964; bh=Oo1bm/Kink59yiR7FiMKlF3LGQ2dGs2SSiUmljb1ze0=; h=Date:From:To:Subject:From; b=K78yBdjGKMmBRhSm3JaFDoE9X9m/QBlS5JD3enlByYPZY9Hf4RViep5uKnDHY0Zj+ TrZApa9YLGcOUsEc0ypH9UbZF4qENZVaJvL2cCxANBm7Kg34DwR+SkfCtvhCjmx5Kf oiRtvAOmTWk8qa9lV6ssQz7YZwMjf7/p8ObNOWPA= Date: Wed, 30 Jun 2021 17:56:03 -0700 From: akpm@linux-foundation.org To: aarcange@redhat.com, ak@linux.intel.com, ben.widawsky@intel.com, dan.j.williams@intel.com, dave.hansen@intel.com, feng.tang@intel.com, mgorman@techsingularity.net, mhocko@kernel.org, mhocko@suse.com, mike.kravetz@oracle.com, mm-commits@vger.kernel.org, rdunlap@infradead.org, rientjes@google.com, vbabka@suse.cz, ying.huang@intel.com Subject: [folded-merged] =?US-ASCII?Q?mm-mempolicy-unify-the-parameter-sanity-check-for-mbind-an?= =?US-ASCII?Q?d-set=5Fmempolicy-v4.patch?= removed from -mm tree Message-ID: <20210701005603.rwUGrfHPC%akpm@linux-foundation.org> User-Agent: s-nail v14.8.16 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk Reply-To: linux-kernel@vger.kernel.org List-ID: X-Mailing-List: mm-commits@vger.kernel.org The patch titled Subject: mm/mempolicy: unify the parameter sanity check for mbind and set_mempolicy has been removed from the -mm tree. Its filename was mm-mempolicy-unify-the-parameter-sanity-check-for-mbind-and-set_mempolicy-v4.patch This patch was dropped because it was folded into mm-mempolicy-unify-the-parameter-sanity-check-for-mbind-and-set_mempolicy.patch ------------------------------------------------------ From: Feng Tang Subject: mm/mempolicy: unify the parameter sanity check for mbind and set_mempolicy add comment Link: https://lkml.kernel.org/r/1622560492-1294-4-git-send-email-feng.tang@intel.com Signed-off-by: Feng Tang Acked-by: Michal Hocko Cc: Andi Kleen Cc: Andrea Arcangeli Cc: Ben Widawsky Cc: Dan Williams Cc: Dave Hansen Cc: David Rientjes Cc: Huang Ying Cc: Mel Gorman Cc: Michal Hocko Cc: Mike Kravetz Cc: Randy Dunlap Cc: Vlastimil Babka Signed-off-by: Andrew Morton --- mm/mempolicy.c | 1 + 1 file changed, 1 insertion(+) --- a/mm/mempolicy.c~mm-mempolicy-unify-the-parameter-sanity-check-for-mbind-and-set_mempolicy-v4 +++ a/mm/mempolicy.c @@ -1441,6 +1441,7 @@ static int copy_nodes_to_user(unsigned l return copy_to_user(mask, nodes_addr(*nodes), copy) ? -EFAULT : 0; } +/* Basic parameter sanity check used by both mbind() and set_mempolicy() */ static inline int sanitize_mpol_flags(int *mode, unsigned short *flags) { *flags = *mode & MPOL_MODE_FLAGS; _ Patches currently in -mm which might be from feng.tang@intel.com are mm-mempolicy-cleanup-nodemask-intersection-check-for-oom.patch mm-mempolicy-dont-handle-mpol_local-like-a-fake-mpol_preferred-policy.patch mm-mempolicy-unify-the-parameter-sanity-check-for-mbind-and-set_mempolicy.patch