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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE3C9C433F5 for ; Wed, 6 Apr 2022 12:18:31 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6C4586B0072; Wed, 6 Apr 2022 08:18:21 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 673CA6B0073; Wed, 6 Apr 2022 08:18:21 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 515136B0074; Wed, 6 Apr 2022 08:18:21 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.a.hostedemail.com [64.99.140.24]) by kanga.kvack.org (Postfix) with ESMTP id 444016B0072 for ; Wed, 6 Apr 2022 08:18:21 -0400 (EDT) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 0057821E10 for ; Wed, 6 Apr 2022 12:18:10 +0000 (UTC) X-FDA: 79326356382.03.6E0DB74 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf04.hostedemail.com (Postfix) with ESMTP id 5512740043 for ; Wed, 6 Apr 2022 12:18:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649247489; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0bmAuHwXgos2Wij7gmsat2kTyYLHBrgF2WjqYuWz2Sc=; b=P0Bxqv8O4h7OnZE1U4twBEVSfSWUQt/EYzzWnMbNHgr0ve3voPZTpfqfAqKtJgXtASp0ZA xXZFyYT1bHJ5/vgHKii/+rJ7LkzlxBqAZA2pV8WbJ9f2jVK+4htQLdTNqC0KrIi5v/RLXv fJIjb1aDW4M1txJhvhsdB9eCohc/psI= Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-626-R6joEvxsPl-CnMG1b7CmkA-1; Wed, 06 Apr 2022 08:18:08 -0400 X-MC-Unique: R6joEvxsPl-CnMG1b7CmkA-1 Received: by mail-io1-f69.google.com with SMTP id h14-20020a05660208ce00b00645c339411bso1464803ioz.8 for ; Wed, 06 Apr 2022 05:18:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=0bmAuHwXgos2Wij7gmsat2kTyYLHBrgF2WjqYuWz2Sc=; b=tVeQJchC9DdYjgpOSpJxNzDkPovRB5GSNww2Pd21s/mOM6B7CwCGjBjS52vAbMuITJ q4oJSRw1HwFZ4Kznk9hcmhnyjrka4paKkU/OZSO3/rCkWFv6e1u7YuEsZfQOF/0rBemR +02H8O0cykKMc+pnpO3undAcFnFqEUwZ+gPRKF7uIbCL5sI9/c/QAgpRk3xtHfXL41Kl Nprx2nqelRCysXfh6hlEyygEI9Q+SwKCEIUhVJlgc+3rZ4/rB6FJQSZ3/aqJmniOPE9P m62Q6ZsxNBrBNi1AOkLhj+zeYEn84IJVoL7U16+z5GggvyFsTpFs49woW6bsAA/P6t8k 6t+Q== X-Gm-Message-State: AOAM532rNhf5klbds23bdDyg92gsb96iv1Xvwhq43pvAm/c2sFgJP2Na RCEeVrlHzc5DdvyyLjPNsdWTybdBSEOdLoIj55IZfQOAnUfBPWImq78855iEIDyLuePEkMJ+sZK H87liQ5zkw04= X-Received: by 2002:a05:6602:2d4c:b0:649:ea44:ffc2 with SMTP id d12-20020a0566022d4c00b00649ea44ffc2mr3848007iow.0.1649247488006; Wed, 06 Apr 2022 05:18:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9Zv00ZMRN4teiAygOVX8oJ6Q94mOYbCUb4viKhrBXLC6g+lgavyjgNP34MNTG3zrcnNiNMw== X-Received: by 2002:a05:6602:2d4c:b0:649:ea44:ffc2 with SMTP id d12-20020a0566022d4c00b00649ea44ffc2mr3847984iow.0.1649247487719; Wed, 06 Apr 2022 05:18:07 -0700 (PDT) Received: from xz-m1.local (cpec09435e3e0ee-cmc09435e3e0ec.cpe.net.cable.rogers.com. [99.241.198.116]) by smtp.gmail.com with ESMTPSA id g7-20020a056e02198700b002c9f4289ef0sm10252505ilf.48.2022.04.06.05.18.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 05:18:07 -0700 (PDT) Date: Wed, 6 Apr 2022 08:18:05 -0400 From: Peter Xu To: kernel test robot Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, kbuild-all@lists.01.org, Mike Kravetz , Nadav Amit , Matthew Wilcox , Mike Rapoport , David Hildenbrand , Hugh Dickins , Jerome Glisse , "Kirill A . Shutemov" , Andrea Arcangeli , Andrew Morton , Axel Rasmussen , Alistair Popple Subject: Re: [PATCH v8 10/23] mm/shmem: Handle uffd-wp during fork() Message-ID: References: <20220405014855.14468-1-peterx@redhat.com> <202204061453.OXOxSh6e-lkp@intel.com> MIME-Version: 1.0 In-Reply-To: <202204061453.OXOxSh6e-lkp@intel.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Stat-Signature: x1ejrr3egjq55j64zb9tbhewamhnjym4 Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=P0Bxqv8O; spf=none (imf04.hostedemail.com: domain of peterx@redhat.com has no SPF policy when checking 170.10.133.124) smtp.mailfrom=peterx@redhat.com; dmarc=pass (policy=none) header.from=redhat.com X-Rspam-User: X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 5512740043 X-HE-Tag: 1649247490-723793 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: I assume below should be the same issue as the allnoconfig one Andrew reported, IOW after the fixup squashed this report along with the other one in patch 4 should go away. Let me know otherwise.. Thanks, On Wed, Apr 06, 2022 at 02:16:56PM +0800, kernel test robot wrote: > All warnings (new ones prefixed by >>): > > In file included from arch/ia64/include/asm/pgtable.h:153, > from include/linux/pgtable.h:6, > from arch/ia64/include/asm/uaccess.h:40, > from include/linux/uaccess.h:11, > from arch/ia64/include/asm/sections.h:11, > from include/linux/interrupt.h:21, > from include/linux/kernel_stat.h:9, > from mm/memory.c:42: > arch/ia64/include/asm/mmu_context.h: In function 'reload_context': > arch/ia64/include/asm/mmu_context.h:127:48: warning: variable 'old_rr4' set but not used [-Wunused-but-set-variable] > 127 | unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4; > | ^~~~~~~ > In file included from include/linux/mm_inline.h:9, > from mm/memory.c:44: > include/linux/userfaultfd_k.h: In function 'pte_marker_entry_uffd_wp': > include/linux/userfaultfd_k.h:260:16: error: implicit declaration of function 'is_pte_marker_entry' [-Werror=implicit-function-declaration] > 260 | return is_pte_marker_entry(entry) && > | ^~~~~~~~~~~~~~~~~~~ > include/linux/userfaultfd_k.h:261:14: error: implicit declaration of function 'pte_marker_get' [-Werror=implicit-function-declaration] > 261 | (pte_marker_get(entry) & PTE_MARKER_UFFD_WP); > | ^~~~~~~~~~~~~~ > include/linux/userfaultfd_k.h:261:38: error: 'PTE_MARKER_UFFD_WP' undeclared (first use in this function) > 261 | (pte_marker_get(entry) & PTE_MARKER_UFFD_WP); > | ^~~~~~~~~~~~~~~~~~ > include/linux/userfaultfd_k.h:261:38: note: each undeclared identifier is reported only once for each function it appears in > In file included from include/linux/mm_inline.h:10, > from mm/memory.c:44: > include/linux/swapops.h: At top level: > include/linux/swapops.h:289:20: error: conflicting types for 'is_pte_marker_entry'; have 'bool(swp_entry_t)' {aka '_Bool(swp_entry_t)'} > 289 | static inline bool is_pte_marker_entry(swp_entry_t entry) > | ^~~~~~~~~~~~~~~~~~~ > In file included from include/linux/mm_inline.h:9, > from mm/memory.c:44: > include/linux/userfaultfd_k.h:260:16: note: previous implicit declaration of 'is_pte_marker_entry' with type 'int()' > 260 | return is_pte_marker_entry(entry) && > | ^~~~~~~~~~~~~~~~~~~ > In file included from include/linux/mm_inline.h:10, > from mm/memory.c:44: > include/linux/swapops.h:294:26: error: conflicting types for 'pte_marker_get'; have 'pte_marker(swp_entry_t)' {aka 'long unsigned int(swp_entry_t)'} > 294 | static inline pte_marker pte_marker_get(swp_entry_t entry) > | ^~~~~~~~~~~~~~ > In file included from include/linux/mm_inline.h:9, > from mm/memory.c:44: > include/linux/userfaultfd_k.h:261:14: note: previous implicit declaration of 'pte_marker_get' with type 'int()' > 261 | (pte_marker_get(entry) & PTE_MARKER_UFFD_WP); > | ^~~~~~~~~~~~~~ -- Peter Xu