Message ID | 20190104125011.16071-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 20A3913B5 for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 4 Jan 2019 12:50:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0FA16283C3 for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 4 Jan 2019 12:50:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 032C5283CF; Fri, 4 Jan 2019 12:50:36 +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 75962283C3 for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 4 Jan 2019 12:50:35 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9C8B28E00D4; Fri, 4 Jan 2019 07:50:34 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 9768F8E00AE; Fri, 4 Jan 2019 07:50:34 -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 88DFC8E00D4; Fri, 4 Jan 2019 07:50:34 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by kanga.kvack.org (Postfix) with ESMTP id 2F8768E00AE for <linux-mm@kvack.org>; Fri, 4 Jan 2019 07:50:34 -0500 (EST) Received: by mail-ed1-f69.google.com with SMTP id d41so34696291eda.12 for <linux-mm@kvack.org>; Fri, 04 Jan 2019 04:50:34 -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=3eQJIJGK+o1ltUbhkQOc59OoBbzP/RrSV2DNYXQ5trs=; b=XQmsN4cNSLA5yHi1PJ8GBjOmMrbPJPQnpTgUpHABvhdGQEPqXzVRDK53O90mLmANds 6Go1d/PcHaq8431QP+Odt67SFxt7LdOvxwRxTiQ5zVJZ1N3ICqTulVC+iKk2rEzUEbmK thTab+E8chZSAXMNSYCZ8nJA4DT6rL5k9VLpAN6l5o1R46DFjtWb343PiV80kDjRH2NI +pj0fArUTDAuDQ/VNGP8rqJ0e9cWJHj/BB0lPx9kQdzF36uGYeq85ZrRsu/swAZ+Fbjb rmmZr4hQh6bfPgFG5P5ZmQUVAn44tVV7L8pQEV+F1Xc7OtfdfWyy+pLgLExiodnHUOiM 8bUQ== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of mgorman@techsingularity.net designates 81.17.249.35 as permitted sender) smtp.mailfrom=mgorman@techsingularity.net X-Gm-Message-State: AA+aEWYkYUxUy9rdrEDJhHvjL8PU+8wKTliMhNpTPY4ajVHpE9+vK49R a+7zJWnqeL8F3rLfut3Sd3zoFp9tCiZ47tsi8E/6scv8HLpBBVNE3oOvxjsu8eTHqKMYSB6nkPG ID+Sn8IFKQSUe9JcGduLE+kJYZHEyBrPaDvjsy/SOHezByy8bvO/Dv4D2uoISNgawVw== X-Received: by 2002:a50:f489:: with SMTP id s9mr45665427edm.101.1546606233707; Fri, 04 Jan 2019 04:50:33 -0800 (PST) X-Google-Smtp-Source: AFSGD/UYXbCO98EKBhcO0ZR/fHfrwV7OwGR8bpX6T/HdmH21U3C0fKpKJBmQlY9lZeYyQcN2sBxO X-Received: by 2002:a50:f489:: with SMTP id s9mr45665396edm.101.1546606232868; Fri, 04 Jan 2019 04:50:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546606232; cv=none; d=google.com; s=arc-20160816; b=WYW1bR7VjOEqmcHNCdp69Ak8c897Na7uPFpzU0MtVmZIC85fPd/dDhvFJa1KUIDtSw SuUB4UeojZYjX8Ika2IY9kZvk/oD+xI72mvC8gw8Fm0Ehzy4oJHIUYQCXD+k6O2hJrpJ yzcnmZBv8FqDuN3gyRoMIlOnyJ6C1s5M9JLKTz0NmKson/4hf0gNb4uH1QbAuQpoY3aV H+QgDnF2ZJVdsGfxGUMKwzelA6hF/Oj2ZPQ4iOI2VU/cNnmJI6mWbrMW5VH/E492YunR 19ERKbgIs06Qp6+2qEZYYgUz/A7NAp0YebWbDC0MB5DVpswdPVsBd5RySmgVaLar+Pfx 0LMw== 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=3eQJIJGK+o1ltUbhkQOc59OoBbzP/RrSV2DNYXQ5trs=; b=w+9H5T2eu2TQay/0wk3kphxLJL8TkU3Yu6oPhfKoXaXGxKU9Du3NCaQ4d/93BOjW6h 4jG0AH6SiYkoFJF5PDfqDBVdy5nRxNmYfcj4cGuyCxxmsC51zcxzjHr4YFHG0Ry5Bc9o WkRYjCziey4UIYNQGNyinQYXTNda1oLyo+XVvur5zqzwVFGTBbF34e5ABnfIC4B7pKq4 r9napAXh7n753/YGkkUYVPP/bfgN6iH+mdllpBtWp6XqWB9ZzurkUNCE7kgjIKhoTRyz NmRneGstcUsneyXkhmkaVIPalHJFM2RpzL+a6jbIT7VN5XXNsPRptEKwiorLdw8LZbho KmbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of mgorman@techsingularity.net designates 81.17.249.35 as permitted sender) smtp.mailfrom=mgorman@techsingularity.net Received: from outbound-smtp04.blacknight.com (outbound-smtp04.blacknight.com. [81.17.249.35]) by mx.google.com with ESMTPS id y6si2193096edi.116.2019.01.04.04.50.32 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Jan 2019 04:50:32 -0800 (PST) Received-SPF: pass (google.com: domain of mgorman@techsingularity.net designates 81.17.249.35 as permitted sender) client-ip=81.17.249.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of mgorman@techsingularity.net designates 81.17.249.35 as permitted sender) smtp.mailfrom=mgorman@techsingularity.net Received: from mail.blacknight.com (pemlinmail03.blacknight.ie [81.17.254.16]) by outbound-smtp04.blacknight.com (Postfix) with ESMTPS id 6B74898837 for <linux-mm@kvack.org>; Fri, 4 Jan 2019 12:50:32 +0000 (UTC) Received: (qmail 29438 invoked from network); 4 Jan 2019 12:50:32 -0000 Received: from unknown (HELO stampy.163woodhaven.lan) (mgorman@techsingularity.net@[37.228.229.96]) by 81.17.254.9 with ESMTPA; 4 Jan 2019 12:50:32 -0000 From: Mel Gorman <mgorman@techsingularity.net> To: Linux-MM <linux-mm@kvack.org> Cc: David Rientjes <rientjes@google.com>, Andrea Arcangeli <aarcange@redhat.com>, Vlastimil Babka <vbabka@suse.cz>, ying.huang@intel.com, kirill@shutemov.name, Andrew Morton <akpm@linux-foundation.org>, Linux List Kernel Mailing <linux-kernel@vger.kernel.org>, Mel Gorman <mgorman@techsingularity.net> Subject: [PATCH 01/25] mm, compaction: Shrink compact_control Date: Fri, 4 Jan 2019 12:49:47 +0000 Message-Id: <20190104125011.16071-2-mgorman@techsingularity.net> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20190104125011.16071-1-mgorman@techsingularity.net> References: <20190104125011.16071-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 v2
|
expand
|
diff --git a/mm/internal.h b/mm/internal.h index f4a7bb02decf..5ddf5d3771a0 100644 --- a/mm/internal.h +++ b/mm/internal.h @@ -184,8 +184,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 */