Message ID | 639fa8d5-8e5b-2333-69dc-40ed46219364@bytedance.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9D5DECAAD3 for <linux-mm@archiver.kernel.org>; Thu, 1 Sep 2022 07:44:49 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7193E6B0072; Thu, 1 Sep 2022 03:44:49 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6CAAB8D0002; Thu, 1 Sep 2022 03:44:49 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 56A9F8D0001; Thu, 1 Sep 2022 03:44:49 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 438606B0072 for <linux-mm@kvack.org>; Thu, 1 Sep 2022 03:44:49 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 24DDF120FA9 for <linux-mm@kvack.org>; Thu, 1 Sep 2022 07:44:49 +0000 (UTC) X-FDA: 79862729898.15.E66D9B8 Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by imf31.hostedemail.com (Postfix) with ESMTP id 9A1E220060 for <linux-mm@kvack.org>; Thu, 1 Sep 2022 07:44:47 +0000 (UTC) Received: by mail-pj1-f42.google.com with SMTP id h13-20020a17090a648d00b001fdb9003787so1714794pjj.4 for <linux-mm@kvack.org>; Thu, 01 Sep 2022 00:44:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=lrUJ8hzAFO5ETYQA2u7pOpjKOW22COqLCAdhgsnw34o=; b=dtt0MKJH4EF6UlO2xymDJ217xbbGekm71aW+8Jbk1tG7DjPpnBaNJ/lK5NQaZTBjld oxebEE3rb+W1N36iJtBKdhM6ojACjsH8D4SDHp5HpnJz9yXPqLLAbOiEg2xJWShDlPjS F/E7hKcavJRAX4uAuhzR5tIlss9tCNoco70FnVvgB5DqN5ajRNMoHZ3aZFgFXOuHngIO p8IvNDwUYu/1eRqAMGFTgA7jeL52J8RJX66nEuktLEp1NSP22TJ1Zyvowitz/aYAMIst 0s6RZh8wwYIEVHWViO5DOnPoku1jmapUF9XN9DQ2yo0OGqWkj08tJ/xabRYRE3vQpXHk kw5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=lrUJ8hzAFO5ETYQA2u7pOpjKOW22COqLCAdhgsnw34o=; b=MJ6aCL3HMKFpcc655IF7CUCGWDJYS8bxVsZVTuYTfDi2nvnhhJZtFH0sHQ5j9geIsM Z0snp0pHzhZOtmR4tn6pELFiJyxvI7PYn1Vb7OlOm+e8NPtobxd8Jt3hdP6t3OEHS+mb Qhxm/veB02yo8Ev/JxV/lnA6Cxc6T8IiJ7oDOvRj4jhfGwxyPMdvKtJTncSYtFdIK5LK KwBp+JPVJC3DpFOqon9GSxI72r6cIF/do6dqp1AIp5s80bqDkk8FvRKsXFyXyS+lfD9X llSlVf8AQ7IqM4kbtcU0a1ueN9wRWMENGE8eKneVoRBvXGBl6DYaFUf4inBLtHAtFfCu i2dQ== X-Gm-Message-State: ACgBeo3ZjF3+kW4T/sFADmoQI2iCQgKZfgsRahuKk31aEoeZMgojOpCJ RuSDeFwy7z3lZxGjyHbv6ed4Jw== X-Google-Smtp-Source: AA6agR5XqIwudnHiLg/ORivU1zvig75iiBBoF+nvsnuTXVutHiuyqTMZriheJdKJ4g9ee0/M+DJ3Vg== X-Received: by 2002:a17:90a:150f:b0:1fb:aee:cd2a with SMTP id l15-20020a17090a150f00b001fb0aeecd2amr7368763pja.47.1662018286309; Thu, 01 Sep 2022 00:44:46 -0700 (PDT) Received: from [10.4.97.191] ([139.177.225.240]) by smtp.gmail.com with ESMTPSA id r14-20020a17090a4dce00b001fde4a4c28csm2577852pjl.37.2022.09.01.00.44.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Sep 2022 00:44:45 -0700 (PDT) Message-ID: <639fa8d5-8e5b-2333-69dc-40ed46219364@bytedance.com> Date: Thu, 1 Sep 2022 15:44:42 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 Subject: [PATCH mm-unstable] mm: thp: fix build error with CONFIG_SHMEM disabled Content-Language: en-US To: akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20220831031951.43152-1-zhengqi.arch@bytedance.com> <20220831031951.43152-3-zhengqi.arch@bytedance.com> From: Qi Zheng <zhengqi.arch@bytedance.com> In-Reply-To: <20220831031951.43152-3-zhengqi.arch@bytedance.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit ARC-Authentication-Results: i=1; imf31.hostedemail.com; dkim=pass header.d=bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=dtt0MKJH; spf=pass (imf31.hostedemail.com: domain of zhengqi.arch@bytedance.com designates 209.85.216.42 as permitted sender) smtp.mailfrom=zhengqi.arch@bytedance.com; dmarc=pass (policy=none) header.from=bytedance.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1662018288; a=rsa-sha256; cv=none; b=eeTjRxXD7FI+WYKSZwb0PTUpiGsQEQiYP0FA+55ypJLzQqBCREOrPljngwKUQ4/c60PKSo gGGnBq18BfPtBM/CYWqv1R3BGPn5C9rigdu54Wk0LRtmJZftSf2Z1d7d2Pco7YZEhVKTA7 gBWEqino9zQsYVBjWeEEoArX3JX6Pig= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1662018288; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=lrUJ8hzAFO5ETYQA2u7pOpjKOW22COqLCAdhgsnw34o=; b=uWml+O3bVoDSHzA0yJTWtvqsUovoxNtlP+96wgBNBX4yVsWTOqZjbL28SLF8Ys/IeYQTU4 OCv3PcQ+ZXMYwHsqreat9xDNzuRrhbjxzjYhI0p7PqmBqn3BJ6rT8EF4pewbuYJk9IUw7r krAARz+Ikhb7/O05LGdLq7Qp6DdfQ6w= X-Rspam-User: X-Rspamd-Queue-Id: 9A1E220060 Authentication-Results: imf31.hostedemail.com; dkim=pass header.d=bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=dtt0MKJH; spf=pass (imf31.hostedemail.com: domain of zhengqi.arch@bytedance.com designates 209.85.216.42 as permitted sender) smtp.mailfrom=zhengqi.arch@bytedance.com; dmarc=pass (policy=none) header.from=bytedance.com X-Stat-Signature: bx9hqxbqf4z4gn598qozwnfbifk3sskz X-Rspamd-Server: rspam11 X-HE-Tag: 1662018287-644358 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 |
[mm-unstable] mm: thp: fix build error with CONFIG_SHMEM disabled
|
expand
|
diff --git a/mm/khugepaged.c b/mm/khugepaged.c index 2d74cf01f694..af3b07eb2389 100644 --- a/mm/khugepaged.c +++ b/mm/khugepaged.c @@ -2020,7 +2020,7 @@ static int khugepaged_scan_file(struct mm_struct *mm, struct file *file, BUILD_BUG(); } -static void khugepaged_collapse_pte_mapped_thps(struct mm_slot *mm_slot) +static void khugepaged_collapse_pte_mapped_thps(struct khugepaged_mm_slot *mm_slot) {