Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1981175rbb; Tue, 27 Feb 2024 07:12:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU+Yyad0fPJ+QbNXg7uVw6m3bxHPa5r8XAw0orZaU5UiKQtuw5IcCFKRRQQzqQHGSilBhF8MkXGY08ZLVMhm343STsd8smXFGN5dFdg/Q== X-Google-Smtp-Source: AGHT+IG44hlPor7W2veyD7qBO0TyqSHm/MT/ODVfVr4MARSqxgt1NkJ8gIDdlmqox5VSHafqSEz6 X-Received: by 2002:a05:620a:8ca:b0:785:d8a1:dfbd with SMTP id z10-20020a05620a08ca00b00785d8a1dfbdmr2199730qkz.68.1709046744838; Tue, 27 Feb 2024 07:12:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709046744; cv=pass; d=google.com; s=arc-20160816; b=VHxho8Ezyms99qs61G/vNVJHU0lId2n1pvPNIffiNxxlR6HZ8IAt7gpgUHf39UGiE1 ccSbgBQo6ppMMywfl8hUSPshsDumLWD0ZguKkk43Bh+vLFz8oea2R2fWe1SQc9iUWPJG +c5A2UEyvd2a1j+SMrMP2cwX6/9uiw6LccR5tn6YdUsr7RFsbR4fWt01zBJpJNAfQ+H4 xO0aZbBHLPv7G9GfZTejy6QXOomssasXvixt0ogPnUfwSqRWtADjE6xQcAShNz4ajGJw /rhsXb7dzxDwOj1UI3NbfG7sb9vYEpBboFs5e2HT6wN175TJX005xCSs4Fb9CM5xsJpU nQ6w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature:dkim-signature :dkim-signature; bh=BhotBk457T/JQRT/U0nnmVx5cNqwJLVhgqvyWSmtT+E=; fh=29kF3k1G5XnfnvBx80C0WmNjEVW4PA3+/HN+wTUqsak=; b=grDswoyybik3PJYGJG44mpRIl2NCfjNfcYRhbFNEleQB1zexLLbxmgMmCHBhzHdIN+ l3ppFmiTfVbOwUmIXNSfjnRXLGf5SuJs//V/sraQyZ2669DGhCPsi/GEY+GqGK7nLe5t MlbOtvt1fYXrbIFfmBkk1n/J1X2MxK6lZRpa2FNA2+ziKFA2jw1wktdAUp/z4xwc0KL9 wy03PLaCbt6CR8fHkhlT4yKiBvi63hWPPqljL41uGx6IbKXLX5FyQcSXWk+1Qvl/ate/ 7SiypPUtkwMGy+QqLIZ6FYFm/9xd2luYJZp7B5ZlUcNnewxHrcoXna/xEFod2h+enXX5 eYNw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=rjmdEma7; dkim=neutral (no key) header.i=@suse.de; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=JlttwLCS; dkim=neutral (no key) header.i=@suse.de; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-83478-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83478-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id u12-20020ae9c00c000000b007879b80f197si7629560qkk.680.2024.02.27.07.12.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 07:12:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83478-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=rjmdEma7; dkim=neutral (no key) header.i=@suse.de; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=JlttwLCS; dkim=neutral (no key) header.i=@suse.de; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-83478-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83478-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C87FF1C24803 for ; Tue, 27 Feb 2024 15:12:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F88D146E60; Tue, 27 Feb 2024 15:09:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="rjmdEma7"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="Gp5d5vbc"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="JlttwLCS"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="KTRl2pHa" Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E1AE2146909 for ; Tue, 27 Feb 2024 15:09:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709046581; cv=none; b=Td6gCcnJTZD1a/WTsBu93iNSLi5Hdl5+kSAQS6YAlasVbq4eR7YlRFKldFUaQR9y3UM2tpMOWYQbFZr59yk62EMw/nBNdBab/mZb+932tZYMHBSCPYSW3VEwsOyFZ7lQD6LrGIeLNji/cJBYcl/1uQeGzu5G2YNAOcUppp9wMXM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709046581; c=relaxed/simple; bh=dM9SNDTnEOVm9hD0EttRoLE3t1czZ09LbkbkT6AW/to=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gYS4S++ISsIsanqoEC28ya5utf6+ah4FJ9m0M/5WPstBhAyR8SAdSsxeW2PT8WpCUii6AJ0+owvjHOmwKCr06BC1N0n0eDwerPx1PjXh7dIwdxrLgRSobNw8w/RgLJi+7WBTmg5cXxulUT+Hyhy/t2F9VAORpo/Ed2VlNdBNgL4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=rjmdEma7; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=Gp5d5vbc; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=JlttwLCS; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=KTRl2pHa; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id CC0E822780; Tue, 27 Feb 2024 15:09:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1709046576; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BhotBk457T/JQRT/U0nnmVx5cNqwJLVhgqvyWSmtT+E=; b=rjmdEma7A85hW8xVkU/BZFQvSVmla/EGoxuB21tUYzsyaOyiJG+RcwqH7/phWv12c4rFKd EE108R0LOhLSFrQfJ5X9KEm9ZJUalywqS1kSvc3EoxoR9F9+6MkBt5kzAiwLchiWaO+7qf gHh+gNq81DOWUExYzLbb1vevoxVo8As= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1709046576; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BhotBk457T/JQRT/U0nnmVx5cNqwJLVhgqvyWSmtT+E=; b=Gp5d5vbcSrreQKzX8moR6hz8TU8936HEHw783A2gYA9qdEn+Q+DTJDLS9fPN6VtPhrG5aX padkkVsiOGADmMCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1709046574; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BhotBk457T/JQRT/U0nnmVx5cNqwJLVhgqvyWSmtT+E=; b=JlttwLCSW6noIBaAF5DJ9tYenemDDuThWVYZc073FAu1FCrBKL5lexUgdIOm6+K/Qo0VBa GQc8vwg8CogT+gqTSQEkqF2eMvRIVpagzyTW0Fb4tdkAa1k/CPPnWhw4+covoD5dTJzHud BBKOWdSWgS7CDr/SsfEetCBFaL7TU/Y= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1709046574; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BhotBk457T/JQRT/U0nnmVx5cNqwJLVhgqvyWSmtT+E=; b=KTRl2pHa8fOKgnigmafZwQpeYL+klE+7Fh/oYlTGOf1+ld/BHqEzvXfUINFcFLHFU0I0He ybHOWqd2yB//OACQ== Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id 44C1A13419; Tue, 27 Feb 2024 15:09:34 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap2.dmz-prg2.suse.org with ESMTPSA id 7mIMDi773WVYBgAAn2gu4w (envelope-from ); Tue, 27 Feb 2024 15:09:34 +0000 Date: Tue, 27 Feb 2024 16:10:43 +0100 From: Oscar Salvador To: Baolin Wang 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 Subject: Re: [PATCH 1/3] mm: record the migration reason for struct migration_target_control Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=JlttwLCS; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=KTRl2pHa X-Spamd-Result: default: False [-3.31 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:98:from]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DKIM_TRACE(0.00)[suse.de:+]; MX_GOOD(-0.01)[]; RCPT_COUNT_SEVEN(0.00)[9]; DBL_BLOCKED_OPENRESOLVER(0.00)[alibaba.com:email,suse.de:dkim,suse.de:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-3.00)[99.99%] X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Rspamd-Queue-Id: CC0E822780 X-Spam-Level: X-Spam-Score: -3.31 X-Spam-Flag: NO 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..." ? > Signed-off-by: Baolin Wang Reviewed-by: Oscar Salvador -- Oscar Salvador SUSE Labs