Message ID | 20230215230300.61125-1-sj@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp466245wrn; Wed, 15 Feb 2023 15:04:51 -0800 (PST) X-Google-Smtp-Source: AK7set/BLDYsrlktJjcE3Q34Oa7f3re+cRgaPFycvfV1N72DAYY4HuwAF3GVXjreBgeF+MD/+7Ga X-Received: by 2002:a17:902:d4cc:b0:19a:ad2f:2e08 with SMTP id o12-20020a170902d4cc00b0019aad2f2e08mr4855217plg.32.1676502291480; Wed, 15 Feb 2023 15:04:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676502291; cv=none; d=google.com; s=arc-20160816; b=OmQQ2d8S9fDwPgDfD6DlEg3QGyQr4UhLxSBA9/8fGhrl0NeXrWXgggEosZ2ukNpxwn fcQol7GbHjhUj/J5IJtbyM6kYbb3M290K2bOmz3lRug1KBJein5By9Rf3N7fW91svtC+ SBv9awkzgURXPpy83TbZznBA0wtUeKagVt5QQSlslR8u4/PGwcDlWhULJELeCeZuPgGw l3mMz6aQHRj7Ixeiqgz3NnmQXNkj/+/38JqndjjglEKzpYHYrbqNFZU6RyqWMFMlUhvs 6Ej4yGu7HaDGOldwJSYpFVxvOpDS7fZ2lzsbOxKIMCUTvmtCagHbtTc82e11slpuIIUX c5rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=zExuHUyJfl0V766l2SpfzSCxd0MV2iXMKgPOatlhBzE=; b=wLefnMZtuTsosrF3oOTrLUO4oAeAjjOXPcgzOKbrNqd6n5pZyLziwFZyLEaEMCyEjn clfzjFKhKXnguhaKN1Xqy3BLtkUQNhXh7NKi4hBht4J1Tzq/NdMXfIzj/3wYGlgvCM/B WdIIck2vl418iBgJg6A4VSHEFygp9ug2GTQQ1JwoLIKlaACa2NKv094yNOkoFJ5J93Cd ztFe4AavsfSiBF72yT7cSzfWOioVVl5LlpLwjHQmQJ3w+dKZ4eeKRg4q2TQ+9QOn5b5Y 7YzNTqdYSCP2jOqcrQVXqhn9q9RZnJJGLLH4iDmA+TgrL1rNo5y1aiLJ17dKdUXdsAFA Xt2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sUWhGnvy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k12-20020a170902c40c00b0019ac13b77fdsi5728375plk.95.2023.02.15.15.04.36; Wed, 15 Feb 2023 15:04:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sUWhGnvy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229743AbjBOXDq (ORCPT <rfc822;hadasmailinglist@gmail.com> + 99 others); Wed, 15 Feb 2023 18:03:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229612AbjBOXDo (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 15 Feb 2023 18:03:44 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD2C2A256 for <linux-kernel@vger.kernel.org>; Wed, 15 Feb 2023 15:03:11 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id ADF59B82436 for <linux-kernel@vger.kernel.org>; Wed, 15 Feb 2023 23:03:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02F31C433D2; Wed, 15 Feb 2023 23:03:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676502185; bh=1fRnYhVnNIjn8JovKRry8izCjgQIpsfEwNzfXj5M8Kw=; h=From:To:Cc:Subject:Date:From; b=sUWhGnvybVG3yko93FDXga/kN8/c0bHWVgaKWGtIwjzR5h5HVfm49Erw3CVDiRmOl bbyOCBsK8/U8uEgFsmeu0xumIW3TSPO7CQCO9n+3fm811qvkrxxNneqAolj3PKBkgc OdLNs1xti2ljr/1VAqDfLJmM+EAUs31SCtSqTQjJ3ky2T9rmR3xNitJf/f6S1pV1P+ L7imGNXlkYYl7feVUZpy9FzXIiG/jCwXx7HZ9iOfI0q3NG1pI915IqMXvLE9oJut0P CjsyOPpXxtG/ev+9wynfRR16thNzM25r+zhG9i9iO/o2hT6CKlcQL12siFwxCsb27v cxtu8JhfThjlg== From: SeongJae Park <sj@kernel.org> To: Andrew Morton <akpm@linux-foundation.org> Cc: SeongJae Park <sj@kernel.org>, David Hildenbrand <david@redhat.com>, Oscar Salvador <osalvador@suse.de>, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] mm/memory_hotplug: cleanup do_migrate_range() Date: Wed, 15 Feb 2023 23:02:58 +0000 Message-Id: <20230215230300.61125-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757940067289656898?= X-GMAIL-MSGID: =?utf-8?q?1757940067289656898?= |
Series |
mm/memory_hotplug: cleanup do_migrate_range()
|
|
Message
SeongJae Park
Feb. 15, 2023, 11:02 p.m. UTC
Make do_migrate_range() return value mechanism simple. Changes from v1 (https://lore.kernel.org/linux-mm/20230214223236.58430-1-sj@kernel.org/) - Simply return nothing from do_migrate_range() (David Hildenbrand) - Add a cleanup for 'ret' variable SeongJae Park (2): mm/memory_hotplug: return nothing from do_migrate_range() mm/memory_hotplug: cleanup 'ret' variable usage in do_migrate_range() mm/memory_hotplug.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)