Message ID | 20190118175136.31341-2-mgorman@techsingularity.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3494A6C5 for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 18 Jan 2019 17:52:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2422F2FC0E for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 18 Jan 2019 17:52:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 17D612FF1B; Fri, 18 Jan 2019 17:52:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC5952FC0E for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 18 Jan 2019 17:52:00 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D53108E0010; Fri, 18 Jan 2019 12:51:59 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id D01B88E0002; Fri, 18 Jan 2019 12:51:59 -0500 (EST) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BF0F38E0010; Fri, 18 Jan 2019 12:51:59 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by kanga.kvack.org (Postfix) with ESMTP id 655338E0002 for <linux-mm@kvack.org>; Fri, 18 Jan 2019 12:51:59 -0500 (EST) Received: by mail-ed1-f70.google.com with SMTP id s50so5189401edd.11 for <linux-mm@kvack.org>; Fri, 18 Jan 2019 09:51:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from:to:cc :subject:date:message-id:in-reply-to:references; bh=8mTqu6XmTXueq68p+xTpjDNtIf6Fpr2hYaUsjecSpjE=; b=bWviq+58sZIh2na2Wt2Q1FdOsCCA8E98PaQMIbhkjw9mekTT4FJsXCSAg/Bjbms+5Q Ig3z4R19kuZxcHSCvqh9GA3pJQJKFY6f9qoYwsDCgnlovG8r3rU2koPeLr1d3EPK4lQy 49cHpMpk54PmaFW4Nf/4NyBcxS1pET6xxY9GD1G2GBrDL7sVTVYoU/bzmZLMj/e8a0Pm nkqamO0V4gaGSTgPNMv4vZzN/TbhXUjE6IMO5RSQOd4GKierY02rjextYy9vFxrx/P+L 53kYmADvrSI7Xhg0imzAVK75pHjDybtMj2bDRG7LirjOuJRBZuDcYJbUMP67q6Zaqv5Z n6FQ== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of mgorman@techsingularity.net designates 46.22.139.233 as permitted sender) smtp.mailfrom=mgorman@techsingularity.net X-Gm-Message-State: AJcUukcRtgfDLmx3yF3BTjpmOaLiD70OyQ+3ZiTEXWI2XJfAmbDj4vH8 ocZx9UaAaeUidcnd1Qv7swHTicnZJrUxeOW79MjcxI03r2Le/Op9jkRIgJubvpKWSpYXexfBZLO Fl0eAtEdsTZCOkJyr9H/kpPulkQzzboPQ7QuIUJNl8oc77Xc4L7azGVbRdeo4/XOX4A== X-Received: by 2002:a17:906:258f:: with SMTP id m15-v6mr15521943ejb.191.1547833918880; Fri, 18 Jan 2019 09:51:58 -0800 (PST) X-Google-Smtp-Source: ALg8bN4fgOPvLoy1jbq/m6yU2HZ04rvssPwBFKyflsolDLp5le3Ln6k9IgrEe2fdCy+UyCPwr2GU X-Received: by 2002:a17:906:258f:: with SMTP id m15-v6mr15521890ejb.191.1547833917809; Fri, 18 Jan 2019 09:51:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547833917; cv=none; d=google.com; s=arc-20160816; b=kGxAerj/ju7fYSm7RO4X9OqVSJlS6zgeY3d55BXnhUzUK3azfjn8AIqIPRZFgdp0u0 wH6if0QEMJOW58jMBcsBbP12VXAqmMxDMnQFXbNKK79JYAR9lPOaUzsCmTqsgPyjfCUP 1wmK7HkK7xS6Zfx0xc3XoZato6FChJRyRc3g8yto69NdrREB4HfTFnrbdfusJPtGebWp l5CVA19BPHERA3O8k9LWmTEjK6MaqmNXgC3nipUxJHxCi742hvP3yNjcGnEnUFgR9hww 7cEdd96k4N5MFOxkpzju3div7A02o2nQB2uB9K7VmPqeSTkLDwmaw392P/EBeMsqor72 H+0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from; bh=8mTqu6XmTXueq68p+xTpjDNtIf6Fpr2hYaUsjecSpjE=; b=H9RuZz7naIn7pNkwciP5Tdacd+vWtDGGwLkVtJvJKVT5SCPNE6ygLijEgzyOurX1oO 3MUbWSE6RVVbHNiFmP1WPwXfJWSXzuVtYAYqHekBJvyJDkW23eb9MPSz0392f7JLrish 32Y0badSeYPPSXMsr9j3IO+1Eln9cAjexUG2hElDXTAc/erMjEN4LiTBbkGDsCn69iS9 jMUwpsOOVeJbVn2SgmP5n0ux+7migZ4wRkpIGx1Fxqd5UcQ85yKYDECnmODH5QZKLv2Y m0kJ89h6fjBNzwNUR3Nvbz09nwboQtWzN/sGpFZd87WIfD9ZuTr6UfNuAIoNuKfSI4k1 AcWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of mgorman@techsingularity.net designates 46.22.139.233 as permitted sender) smtp.mailfrom=mgorman@techsingularity.net Received: from outbound-smtp16.blacknight.com (outbound-smtp16.blacknight.com. [46.22.139.233]) by mx.google.com with ESMTPS id m2-v6si4454730eje.191.2019.01.18.09.51.57 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jan 2019 09:51:57 -0800 (PST) Received-SPF: pass (google.com: domain of mgorman@techsingularity.net designates 46.22.139.233 as permitted sender) client-ip=46.22.139.233; Authentication-Results: mx.google.com; spf=pass (google.com: domain of mgorman@techsingularity.net designates 46.22.139.233 as permitted sender) smtp.mailfrom=mgorman@techsingularity.net Received: from mail.blacknight.com (pemlinmail03.blacknight.ie [81.17.254.16]) by outbound-smtp16.blacknight.com (Postfix) with ESMTPS id 58BB31C3589 for <linux-mm@kvack.org>; Fri, 18 Jan 2019 17:51:57 +0000 (GMT) Received: (qmail 30679 invoked from network); 18 Jan 2019 17:51:57 -0000 Received: from unknown (HELO stampy.163woodhaven.lan) (mgorman@techsingularity.net@[37.228.229.96]) by 81.17.254.9 with ESMTPA; 18 Jan 2019 17:51:57 -0000 From: Mel Gorman <mgorman@techsingularity.net> To: Andrew Morton <akpm@linux-foundation.org> Cc: David Rientjes <rientjes@google.com>, Andrea Arcangeli <aarcange@redhat.com>, Vlastimil Babka <vbabka@suse.cz>, Linux List Kernel Mailing <linux-kernel@vger.kernel.org>, Linux-MM <linux-mm@kvack.org>, Mel Gorman <mgorman@techsingularity.net> Subject: [PATCH 01/22] mm, compaction: Shrink compact_control Date: Fri, 18 Jan 2019 17:51:15 +0000 Message-Id: <20190118175136.31341-2-mgorman@techsingularity.net> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20190118175136.31341-1-mgorman@techsingularity.net> References: <20190118175136.31341-1-mgorman@techsingularity.net> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Increase success rates and reduce latency of compaction v3
|
expand
|
diff --git a/mm/internal.h b/mm/internal.h index 536bc2a839b9..5564841fce36 100644 --- a/mm/internal.h +++ b/mm/internal.h @@ -185,8 +185,8 @@ struct compact_control { struct list_head freepages; /* List of free pages to migrate to */ struct list_head migratepages; /* List of pages being migrated */ struct zone *zone; - unsigned long nr_freepages; /* Number of isolated free pages */ - unsigned long nr_migratepages; /* Number of pages to migrate */ + unsigned int nr_freepages; /* Number of isolated free pages */ + unsigned int nr_migratepages; /* Number of pages to migrate */ unsigned long total_migrate_scanned; unsigned long total_free_scanned; unsigned long free_pfn; /* isolate_freepages search base */