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 C1FDAC54EAA for ; Tue, 24 Jan 2023 10:24:03 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3906F6B0075; Tue, 24 Jan 2023 05:24:03 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 33F2E6B0078; Tue, 24 Jan 2023 05:24:03 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1B8686B007D; Tue, 24 Jan 2023 05:24:03 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 0B52A6B0075 for ; Tue, 24 Jan 2023 05:24:03 -0500 (EST) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id AD5D21209E1 for ; Tue, 24 Jan 2023 10:24:02 +0000 (UTC) X-FDA: 80389307124.27.35E28BD Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by imf22.hostedemail.com (Postfix) with ESMTP id 642AFC0015 for ; Tue, 24 Jan 2023 10:23:59 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=R59Nj6GJ; spf=pass (imf22.hostedemail.com: domain of lkp@intel.com designates 192.55.52.115 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1674555840; 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: in-reply-to:in-reply-to:references:references:dkim-signature; bh=dsmsYNofUIKJ8Pjut0uP0nQ26oEEUImKQSlD82JyQn0=; b=zw9p8rx3wqFIS81LrOERFxZGA5BfGWWRSRgqvDOGe0Y6Ut3ag/7RbaTnf7/1eo3htr0ouU K+2Wxkn/ATQKSTwDKaDLLnhXrhkp+JZq0E2hgqZhlnSE3eP4vri8pt1QnVbCctP7idiixR rn6eQWZzrVM92/fDWcO8/cF3KcU7h/0= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=R59Nj6GJ; spf=pass (imf22.hostedemail.com: domain of lkp@intel.com designates 192.55.52.115 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1674555840; a=rsa-sha256; cv=none; b=LCKxTFwnVPjgmCN2srMWZfw/YZKWHxFvlF1bFUYc6L6GvbuWzDH8q4V+BI7VIelpDasO6D niBjOozb9ow315cWNT96GGW+Y1SvyfEbYNalhhgZnCCVd3+c3LLYpsxilOjlz1tuW+7GCj Ds/LVW1QAHJ2YPEt0VGPumuTiEuGceg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674555839; x=1706091839; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=61NCGxLzSHjHHBUNqAQPKXIjKCww1YdhsHSX3vKpaAU=; b=R59Nj6GJwIlUCTFXiq9+a2Igk2aomOll8dP3kYMUbDhhNlW2tksasq4O W3rbxkfCWzNqVTIE50HR1oJzlZjRNb8ZKK2OAN/TA8KAcVtlJh3SKrcRd RWvRkKnd5Rstwg8G0EMTJQAZx3oHtg74uqN4BOlIvaGOs4TBHfKtWqQUr Qe5rgC9ao8ngrImNUDD0Ri8ph3KQOtkwwEmxytMqW1opLQUbg/7XVIQs1 nNXKz75Vqkg7rgPM1aHffF6viUqna6N2zh0FX2E7OvTBWUt/QwSo/sPoC cdczpPfM24EuqJ5fHAKDbx6mvUNvbvcr8EUdnB5Q8VQIms6/rx0ybh50q Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10599"; a="326300350" X-IronPort-AV: E=Sophos;i="5.97,242,1669104000"; d="scan'208";a="326300350" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jan 2023 02:23:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10599"; a="770252842" X-IronPort-AV: E=Sophos;i="5.97,242,1669104000"; d="scan'208";a="770252842" Received: from lkp-server01.sh.intel.com (HELO 5646d64e7320) ([10.239.97.150]) by fmsmga002.fm.intel.com with ESMTP; 24 Jan 2023 02:23:50 -0800 Received: from kbuild by 5646d64e7320 with local (Exim 4.96) (envelope-from ) id 1pKGSz-0006Ke-0R; Tue, 24 Jan 2023 10:23:49 +0000 Date: Tue, 24 Jan 2023 18:23:20 +0800 From: kernel test robot To: Muhammad Usama Anjum , Peter Xu , David Hildenbrand , Andrew Morton , =?utf-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= , Andrei Vagin , Danylo Mocherniuk , Paul Gofman , Cyrill Gorcunov Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Alexander Viro , Shuah Khan , Christian Brauner , Yang Shi , Vlastimil Babka , "Liam R . Howlett" , Yun Zhou , Suren Baghdasaryan , Alex Sierra , Muhammad Usama Anjum , Matthew Wilcox , Pasha Tatashin , Mike Rapoport , Nadav Amit , Axel Rasmussen , "Gustavo A . R . Silva" , Dan Williams , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kselftest@vger.kernel.org, Greg KH Subject: Re: [PATCH v8 2/4] userfaultfd: split mwriteprotect_range() Message-ID: <202301241831.AYRPKsH5-lkp@intel.com> References: <20230124084323.1363825-3-usama.anjum@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230124084323.1363825-3-usama.anjum@collabora.com> X-Stat-Signature: 9mo5e4utgqqci3guomnuqq9ueyy1eujt X-Rspam-User: X-Rspamd-Queue-Id: 642AFC0015 X-Rspamd-Server: rspam06 X-HE-Tag: 1674555839-47905 X-HE-Meta: U2FsdGVkX19bupiY6ocGKiceP5b7v3lcuQWDP2RK21jlW37ufIbLFsEzh61D28INwgL13RzTcZltATUybBmPcnzmcQcfHeiFqcdF2h4MvPJYGtHSBFUvZARAF2c8I721zMpiQilpzMkW3KQARnUVM6kvk0At5rwqTSyhCp7joabUCtCGKSPCL7k7MRZM6y6tTUK0P39jZ3hnLHn7kTu5a7f0il/8yFOeewTIbgSQnT+bQb1LNFXgNEdU8wgxnLgAOK0ZohbrNeQJ/Uouu+OisajdAr4H0NTJ7/zQABE0V0Vh7PRM/Nrr8nRizaY+YC7f3zCFafRAZkbkBe3Qn00VAf/86MCKILD0KA0dc7uBofqEoPjNDuSDOGMr4SffwcDau9FLKwrW4ul30URzFDE0XDI0rAAcG7FZ0A+ulY6IvYqeFKgPe+J6GVOw5QGd56O3lBEa1EaS9A2G7JioSurwb/AVTs7+Gnf66/ydAhtoWZuv1CCXa21QLaNKmr8K9DmFhx0T2o6tVvhGrwOj0SI0GBwa+wJxJXqGbEIMnVmbr3LIz139QhtXeiHvNZwD7gRLW8HKeSSB0pcuhZhqWqilvSkQWhaBZ88a9gCehEd9Wgj70FGBtooIpsT+Bh6oBTyHu69mpFPJOLZ3dpDEYb5Cbe7kkP/pUq63fjCCbvZDJyUEFBvpHYHG4FEGK5dgja8tFBJFtZp6kt7+pYacjUhkPsh7jd6MIVlvlS2HMJChemmm9VFFCz71Pu2hLcR6yq4ntO6BaS/voBC/q0hWFvtJ8eSk2mzn5iIFz/mkv6iQ/RgGuEBLe8Lw152C1xhPcIxF8IgnCW5SjXpYav6A8afSLxUY2DFBwl0rs/XRxzLhcyMYg1y+ykuTv15rTi39JYuoxHgzhYypBd3KZbRiHPQE3eW746nDpEajgChkDkZoPnmQPF2ptvW2baxw8VcaZ6ivq/ZM6Sjr6cG0T2rWA1G jBRnvTBo W4+BXcwriwZqkEUOX64qL4R8GrpNXWF2LdGayBIOzob3zRCtsgL0r8bEiWvapENRE2yqWsmYVxzUaHpP/CmzFC6z5wRQNgPnm7u82HJVikEE041hX4qz//W9MjsFYodw6m73k4rNI+FMmK/GoNUAc0zcwkuaf3oi/g4AtjbpFI+Wfqj7lG8qL9LrbbLlqI3dEZdtGagqb2fZcS/AGSxSBcGgeNtUq2JMuvKkcsKpB61Rjm2qqaxMWF4oVkWzOvE1cSsSmxX5zdCg+JHNmnOk7mdswGsG7ktrlOHgA6KnPC8rDmHAkD1fNi1YhHsGnS+t+Kb+6moGba0a1s61q26b5sLLLSteJ8ovvL87QHknw8UO79kQPOeOchxt1HFoH6IAsxfXFxCSDctkJqXpELMfP3/usRpQE7BNtd1WawEoLlduz0vhFYoExStxOzofaAe6PwNViOPOZhjIHezVJFi/MLKaiRmFqnOSGrun7z4e2snzerbAWUEyhEEXubA== 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: Hi Muhammad, Thank you for the patch! Yet something to improve: [auto build test ERROR on shuah-kselftest/next] [also build test ERROR on shuah-kselftest/fixes linus/master v6.2-rc5] [cannot apply to next-20230124] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Muhammad-Usama-Anjum/userfaultfd-Add-UFFD-WP-Async-support/20230124-164601 base: https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git next patch link: https://lore.kernel.org/r/20230124084323.1363825-3-usama.anjum%40collabora.com patch subject: [PATCH v8 2/4] userfaultfd: split mwriteprotect_range() config: i386-tinyconfig (https://download.01.org/0day-ci/archive/20230124/202301241831.AYRPKsH5-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/2806717805539421b82e971890ebbaf83b3deee4 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Muhammad-Usama-Anjum/userfaultfd-Add-UFFD-WP-Async-support/20230124-164601 git checkout 2806717805539421b82e971890ebbaf83b3deee4 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 olddefconfig make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): ld: arch/x86/mm/init_32.o: in function `userfaultfd_wp_async': init_32.c:(.text+0x0): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: arch/x86/mm/init_32.o: in function `wp_range_async': >> init_32.c:(.text+0x3): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: arch/x86/mm/fault.o: in function `userfaultfd_wp_async': fault.c:(.text+0x8cd): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: arch/x86/mm/fault.o: in function `wp_range_async': fault.c:(.text+0x8d0): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: arch/x86/mm/pgtable.o: in function `userfaultfd_wp_async': pgtable.c:(.text+0x0): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: arch/x86/mm/pgtable.o: in function `wp_range_async': pgtable.c:(.text+0x3): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: kernel/fork.o: in function `userfaultfd_wp_async': fork.c:(.text+0x5bb): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: kernel/fork.o: in function `wp_range_async': fork.c:(.text+0x5be): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: kernel/sysctl.o: in function `userfaultfd_wp_async': sysctl.c:(.text+0x0): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: kernel/sysctl.o: in function `wp_range_async': sysctl.c:(.text+0x3): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: kernel/sys.o: in function `userfaultfd_wp_async': sys.c:(.text+0xb5e): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: kernel/sys.o: in function `wp_range_async': sys.c:(.text+0xb61): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: kernel/events/core.o: in function `userfaultfd_wp_async': core.c:(.text+0x404c): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: kernel/events/core.o: in function `wp_range_async': core.c:(.text+0x404f): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: mm/filemap.o: in function `userfaultfd_wp_async': filemap.c:(.text+0x7c5): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: mm/filemap.o: in function `wp_range_async': filemap.c:(.text+0x7c8): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: mm/page-writeback.o: in function `userfaultfd_wp_async': page-writeback.c:(.text+0xb69): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: mm/page-writeback.o: in function `wp_range_async': page-writeback.c:(.text+0xb6c): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: mm/folio-compat.o: in function `userfaultfd_wp_async': folio-compat.c:(.text+0xc): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: mm/folio-compat.o: in function `wp_range_async': folio-compat.c:(.text+0xf): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: mm/readahead.o: in function `userfaultfd_wp_async': readahead.c:(.text+0x128): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: mm/readahead.o: in function `wp_range_async': readahead.c:(.text+0x12b): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: mm/swap.o: in function `userfaultfd_wp_async': swap.c:(.text+0x6e5): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: mm/swap.o: in function `wp_range_async': swap.c:(.text+0x6e8): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: mm/vmscan.o: in function `userfaultfd_wp_async': vmscan.c:(.text+0xf96): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: mm/vmscan.o: in function `wp_range_async': vmscan.c:(.text+0xf99): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: mm/shmem.o: in function `userfaultfd_wp_async': shmem.c:(.text+0x91): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: mm/shmem.o: in function `wp_range_async': shmem.c:(.text+0x94): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: mm/util.o: in function `userfaultfd_wp_async': util.c:(.text+0x2b): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: mm/util.o: in function `wp_range_async': util.c:(.text+0x2e): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: mm/vmstat.o: in function `userfaultfd_wp_async': vmstat.c:(.text+0x0): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: mm/vmstat.o: in function `wp_range_async': vmstat.c:(.text+0x3): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: mm/compaction.o: in function `userfaultfd_wp_async': compaction.c:(.text+0x0): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: mm/compaction.o: in function `wp_range_async': compaction.c:(.text+0x3): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: mm/workingset.o: in function `userfaultfd_wp_async': workingset.c:(.text+0x181): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: mm/workingset.o: in function `wp_range_async': workingset.c:(.text+0x184): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: mm/debug.o: in function `userfaultfd_wp_async': debug.c:(.text+0xb9): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: mm/debug.o: in function `wp_range_async': debug.c:(.text+0xbc): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: mm/gup.o: in function `userfaultfd_wp_async': gup.c:(.text+0x2ae): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: mm/gup.o: in function `wp_range_async': gup.c:(.text+0x2b1): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: mm/memory.o: in function `userfaultfd_wp_async': memory.c:(.text+0x737): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: mm/memory.o: in function `wp_range_async': memory.c:(.text+0x73a): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: mm/mincore.o: in function `userfaultfd_wp_async': mincore.c:(.text+0x149): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: mm/mincore.o: in function `wp_range_async': mincore.c:(.text+0x14c): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: mm/mlock.o: in function `userfaultfd_wp_async': mlock.c:(.text+0x90e): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: mm/mlock.o: in function `wp_range_async': mlock.c:(.text+0x911): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: mm/mmap.o: in function `userfaultfd_wp_async': mmap.c:(.text+0x4d8): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: mm/mmap.o: in function `wp_range_async': mmap.c:(.text+0x4db): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: mm/mmu_gather.o: in function `userfaultfd_wp_async': mmu_gather.c:(.text+0x29): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: mm/mmu_gather.o: in function `wp_range_async': mmu_gather.c:(.text+0x2c): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here ld: mm/mprotect.o: in function `userfaultfd_wp_async': mprotect.c:(.text+0x45): multiple definition of `userfaultfd_wp_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x3): first defined here ld: mm/mprotect.o: in function `wp_range_async': mprotect.c:(.text+0x48): multiple definition of `wp_range_async'; arch/x86/kernel/setup.o:setup.c:(.text+0x6): first defined here -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests