From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F749C433E1 for ; Wed, 19 Aug 2020 19:21:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E75D02078D for ; Wed, 19 Aug 2020 19:21:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="ZjgtOAiM" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726745AbgHSTV2 (ORCPT ); Wed, 19 Aug 2020 15:21:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726211AbgHSTV1 (ORCPT ); Wed, 19 Aug 2020 15:21:27 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AB5DC061757; Wed, 19 Aug 2020 12:21:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=KY/ct6DqDgE0xj6ePem8K1ZoSkwZfEz10n8fdqExt64=; b=ZjgtOAiMlD359oZ7PFqMt7m/N/ HsV4xtxiFIMnMzoxngiRO9ToNhKnv+UqlargZIB9w8jJqXk/dqR9dfqj4tNwNFP5CTQkepb8vQLYd N6edGz+ukH9jxmgqOu+htrf4lkXBUtKapGiqzye8JfwY6EW+FDYiOi0ZBCowk7p28IJHqU2YdYM9Z N8xN1Pxiw6OAKzEqtWpYx9FTR1tDWShrK0WIO7VUupr7ifwcRs75x6fTzuXimm3s/Gh+R3mKKNZwL JXxo/oXSSodiI2qvrWAzPpqT89upwfqcvAYv1QajyLDfP9rE7MFO+DAyBvBsaEz4zb53yYXFjw6z3 V7MxvCGw==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1k8Te1-0000um-Sd; Wed, 19 Aug 2020 19:21:09 +0000 Date: Wed, 19 Aug 2020 20:21:09 +0100 From: Matthew Wilcox To: linux-mm@kvack.org Cc: Andrew Morton , Hugh Dickins , William Kucharski , Jani Nikula , Alexey Dobriyan , Johannes Weiner , Chris Wilson , Matthew Auld , Huang Ying , intel-gfx@lists.freedesktop.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/8] mm: Factor find_get_swap_page out of mincore_page Message-ID: <20200819192109.GI17456@casper.infradead.org> References: <20200819184850.24779-1-willy@infradead.org> <20200819184850.24779-2-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200819184850.24779-2-willy@infradead.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 19, 2020 at 07:48:43PM +0100, Matthew Wilcox (Oracle) wrote: > Provide this functionality from the swap cache. It's useful for > more than just mincore(). The build bot showed I was missing this for some configs: diff --git a/mm/swap_state.c b/mm/swap_state.c index 986b4e3d3bad..92a1f40be589 100644 --- a/mm/swap_state.c +++ b/mm/swap_state.c @@ -21,6 +21,7 @@ #include #include #include +#include #include "internal.h" /* I'll wait for more feedback before reposting the series in ~24 hours.