Message ID | 20210715042655.ljTZkSkdp%akpm@linux-foundation.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=osCV=MH=kvack.org=owner-linux-mm@kernel.org> 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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 74D96C07E96 for <linux-mm@archiver.kernel.org>; Thu, 15 Jul 2021 04:26:58 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 3EFF86136E for <linux-mm@archiver.kernel.org>; Thu, 15 Jul 2021 04:26:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3EFF86136E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 91ABD6B014D; Thu, 15 Jul 2021 00:26:58 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8F2188D0049; Thu, 15 Jul 2021 00:26:58 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7BA828D0048; Thu, 15 Jul 2021 00:26:58 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0132.hostedemail.com [216.40.44.132]) by kanga.kvack.org (Postfix) with ESMTP id 586BD6B014D for <linux-mm@kvack.org>; Thu, 15 Jul 2021 00:26:58 -0400 (EDT) Received: from smtpin12.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 47406184B2F3D for <linux-mm@kvack.org>; Thu, 15 Jul 2021 04:26:57 +0000 (UTC) X-FDA: 78363536874.12.B40101A Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf01.hostedemail.com (Postfix) with ESMTP id F1639500CEE0 for <linux-mm@kvack.org>; Thu, 15 Jul 2021 04:26:56 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 1B27A6128C; Thu, 15 Jul 2021 04:26:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1626323216; bh=dmCJejRnUY2wFaFILR5RtwcF3EX/YHO/GYcUOohB8yM=; h=Date:From:To:Subject:In-Reply-To:From; b=omsg4VG7ifQQP+AmVIEcCGfhfveekNoHIXJruRbBTFft13pVFtknJv1H9NnG5L3J4 Ci27CCvbje7kWAnRduUaoxWNvkMNzMmaJbPrGWeZWADUfRYz609oW+hKoytkueiiof KTujBix2m602BFiTLWW7Wt2vNxoMWSbUXW7dJQms= Date: Wed, 14 Jul 2021 21:26:55 -0700 From: Andrew Morton <akpm@linux-foundation.org> To: akpm@linux-foundation.org, hch@lst.de, linux-mm@kvack.org, mm-commits@vger.kernel.org, shy828301@gmail.com, torvalds@linux-foundation.org Subject: [patch 08/13] mm: fix the try_to_unmap prototype for !CONFIG_MMU Message-ID: <20210715042655.ljTZkSkdp%akpm@linux-foundation.org> In-Reply-To: <20210714212609.fad116e584ba1194981a6294@linux-foundation.org> User-Agent: s-nail v14.8.16 Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=omsg4VG7; spf=pass (imf01.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: F1639500CEE0 X-Stat-Signature: fahzzy5bxj48eb9wf4qe5zrz7rurmp31 X-HE-Tag: 1626323216-324606 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> |
Series |
[01/13] mm: move helper to check slub_debug_enabled
|
expand
|
--- a/include/linux/rmap.h~mm-fix-the-try_to_unmap-prototype-for-config_mmu +++ a/include/linux/rmap.h @@ -291,7 +291,9 @@ static inline int page_referenced(struct return 0; } -#define try_to_unmap(page, refs) false +static inline void try_to_unmap(struct page *page, enum ttu_flags flags) +{ +} static inline int page_mkclean(struct page *page) {