Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2396816rbb; Tue, 27 Feb 2024 23:46:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVBW0JFliBfoPK6sy/p4Gbt8aFH/8KnrpUtnvuQBYBXKjeWqjziBUKz1O4LsWKgom2X92PzJ3nq4CkstSz9GN9o6MGUFwsDKXTDjyx01A== X-Google-Smtp-Source: AGHT+IHPWULxnjFCU/9XUo/bksefrXPeiuqNB0Js95O8Uj1i5wEZC3vfLOm5ECB05Am1obUXb9lN X-Received: by 2002:a17:902:ce82:b0:1db:e837:409a with SMTP id f2-20020a170902ce8200b001dbe837409amr18008525plg.48.1709106401463; Tue, 27 Feb 2024 23:46:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709106401; cv=pass; d=google.com; s=arc-20160816; b=i3jnPEHGZRaZtJ5TvjUUqT4lSUgvTUXjZQKoVhgOr/k609ME1cCMSwHKFmVaYccyvG U2Ph0P4fFDFtP4zC+XDIqm+JFu6l8bu1tIGXGmwiN6JpIQesuXUs+2gZQ0Ri1/o1h7Ez ePhdw10hOeiT24b0TLUKb0y2l0u87ZY1+3CL/2KfMC+AtthW7HfM2FvlynfXTZWLA5Wk SWOlX6VSlESkz3fJZLG9Xvmc/K8bfgwvYbz3moYqYYG7ym5njJN/G+jpTGDs3nr4EXii sP5ku/dOWMfIigEnRXfDkW8wbE/jNYR4MzjRrUVoKu+2wIuLrVrMZjp5SghD6Vpi6dyN r2sQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id:dkim-signature; bh=QzFPt3NoCOtJ/fXrg8BCzAMZrCiNDZ1q9/ZHkgsaUvo=; fh=YPTNcFsvZ+O9XI4A4iW7fK5wftZqh1P5JrCFNuJgSaA=; b=GU72HCerlTT3HkFmKm+OhY8rFI2y6M/LSZxxKqaVCA5V/EeXt6gGJJz+moKv8si0k5 mCEu15HHPs6Coz7w6lM3l49LpW2VQN00rKnAs6XKVPi4f5zdVT7ZwlEEB8FFTD7li4kb hy/LqE2Lv4nhUR5HFe3gVvmjREWDXVP4sgfclCokz8rJ/iZQz5kWL1HJ1SySqHS8v1qt 2BG26kSXjwj3r9sOWJm0/nUQjLz0ySzbcBuGX+OqqGOetdwSn8m6UnugZcVo8c2C0n22 9MrbJkyVYHf2Eh9QKfhGYFMZkrY2kxj3KNHeLBIewUMRHjdG0W7vNWqTn6fam4PaF3ro /nag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b="T6fWye/2"; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-84624-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84624-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id jj5-20020a170903048500b001db4cb15c67si2770011plb.498.2024.02.27.23.46.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 23:46:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84624-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b="T6fWye/2"; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-84624-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84624-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id EE51BB25C2D for ; Wed, 28 Feb 2024 07:41:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2FC37286AF; Wed, 28 Feb 2024 07:41:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="T6fWye/2" Received: from out30-111.freemail.mail.aliyun.com (out30-111.freemail.mail.aliyun.com [115.124.30.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD5A325556 for ; Wed, 28 Feb 2024 07:40:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.111 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709106059; cv=none; b=TrTt79PW4dVJozFbRN9sOzAE+qe+ZofT6jn1n2GWNGpB9iBW1m5C/7nbaUnAgDqyxUoCzgHZiJXXOB1W3zftmLFYBseuCPAGrEnyMMicL1M9H6AHMzAsMELaxOsTmonXKwNg7+A7X0p8+dx9cDxkPJTVGW30VfwlrUH9LODHkNQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709106059; c=relaxed/simple; bh=lo6m6tXWEfJ2nxsrwHJrqorsV92359uQ/KjzKW830e8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=b0JoHX8dXTmfKelwplhZn9f26ODf9326ziF8Bf704InFKb/HSseSnDQC3P0zLBZuOemlwhhFquCYyFOO1D46HS/IhRoSa/cFeLty2/X2qCa1QfpWlxqRFjTjlX9i3L9AMmKuZ0R7RwBGRDmadas77ka7TYS0p4h3JkCExJsX3qk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=T6fWye/2; arc=none smtp.client-ip=115.124.30.111 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1709106054; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=QzFPt3NoCOtJ/fXrg8BCzAMZrCiNDZ1q9/ZHkgsaUvo=; b=T6fWye/2SnDarkPO0HwLetf2iXhkJ5llclG4N3mY+QeSTI0oAzCfD0gdJ8K+cMw0h7qIaR/uoVvlixpgA8WGR8RzUCE2mwru0eP8J/OTHmeuruXDV54RJd5kc62Fb//yWOHBwSwiptzYwn5WX9dQOkhSUTIxF0LRYaqh0JhAs1I= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R731e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045192;MF=baolin.wang@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0W1P0G.J_1709106010; Received: from 30.97.56.58(mailfrom:baolin.wang@linux.alibaba.com fp:SMTPD_---0W1P0G.J_1709106010) by smtp.aliyun-inc.com; Wed, 28 Feb 2024 15:40:53 +0800 Message-ID: <937a077a-4f12-4fdb-9dc7-adee7b2129c8@linux.alibaba.com> Date: Wed, 28 Feb 2024 15:40:53 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/3] mm: record the migration reason for struct migration_target_control To: Oscar Salvador Cc: akpm@linux-foundation.org, muchun.song@linux.dev, david@redhat.com, linmiaohe@huawei.com, naoya.horiguchi@nec.com, mhocko@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: From: Baolin Wang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024/2/27 23:10, Oscar Salvador wrote: > On Tue, Feb 27, 2024 at 09:52:25PM +0800, Baolin Wang wrote: >> To support different hugetlb allocation strategies during hugetlb migration >> based on various migration reasons, recording the migration reason for the >> migration_target_control structure as a preparation. > > "... record the migration reason in the migration_target_control > structure..." ? Sure, will do. >> Signed-off-by: Baolin Wang > > Reviewed-by: Oscar Salvador Thanks.