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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2C615C54E94 for ; Thu, 26 Jan 2023 00:23:01 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4P2LyW4C2Kz3fBQ for ; Thu, 26 Jan 2023 11:22:59 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linux-foundation.org header.i=@linux-foundation.org header.a=rsa-sha256 header.s=korg header.b=ULxhZQ8c; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux-foundation.org (client-ip=2604:1380:4601:e00::1; helo=ams.source.kernel.org; envelope-from=akpm@linux-foundation.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linux-foundation.org header.i=@linux-foundation.org header.a=rsa-sha256 header.s=korg header.b=ULxhZQ8c; dkim-atps=neutral Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4P2LxW1WjPz2ynB for ; Thu, 26 Jan 2023 11:22:06 +1100 (AEDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3CD1CB81C5E; Thu, 26 Jan 2023 00:22:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40041C4339C; Thu, 26 Jan 2023 00:22:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1674692521; bh=jgiR0d8hUFYk52IUlDU+5+WUlWzBEfGIiyIxt9qM28M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ULxhZQ8c8CFbkpJnZkQWozl7DcYVx5jaXu3rzUm9YEUVUUBF3LoSFC62/+TJOYZaR XqOGcbMw9b1nL+CccygWmx/zE9bKSUO+vNPz8Irpn2cZdIGClGOwo3gE90ADY2+Gol bLVO3uhuoeYOQb1698Ohp0oHoLXvcFQkBDfiZnyc= Date: Wed, 25 Jan 2023 16:21:59 -0800 From: Andrew Morton To: Suren Baghdasaryan Subject: Re: [PATCH v3 1/7] kernel/fork: convert vma assignment to a memcpy Message-Id: <20230125162159.a66e5ef05fecb405e85ffec9@linux-foundation.org> In-Reply-To: <20230125233554.153109-2-surenb@google.com> References: <20230125233554.153109-1-surenb@google.com> <20230125233554.153109-2-surenb@google.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: michel@lespinasse.org, joelaf@google.com, songliubraving@fb.com, mhocko@suse.com, leewalsh@google.com, david@redhat.com, peterz@infradead.org, bigeasy@linutronix.de, peterx@redhat.com, dhowells@redhat.com, linux-mm@kvack.org, edumazet@google.com, jglisse@google.com, punit.agrawal@bytedance.com, will@kernel.org, arjunroy@google.com, dave@stgolabs.net, minchan@google.com, x86@kernel.org, hughd@google.com, willy@infradead.org, gurua@google.com, mingo@redhat.com, linux-arm-kernel@lists.infradead.org, rientjes@google.com, axelrasmussen@google.com, kernel-team@android.com, soheil@google.com, paulmck@kernel.org, jannh@google.com, liam.howlett@oracle.com, shakeelb@google.com, luto@kernel.org, gthelen@google.com, ldufour@linux.ibm.com, vbabka@suse.cz, posk@google.com, lstoakes@gmail.com, peterjung1337@gmail.com, linuxppc-dev@lists.ozlabs.org, kent.overstreet@linux.dev, hughlynch@google.com, linux-kernel@vger.kernel.org, hannes@cmpxchg.org, tatashin@google.com, mgorman@techsingularity.net Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Wed, 25 Jan 2023 15:35:48 -0800 Suren Baghdasaryan wrote: > Convert vma assignment in vm_area_dup() to a memcpy() to prevent compiler > errors when we add a const modifier to vma->vm_flags. > > ... > > --- a/kernel/fork.c > +++ b/kernel/fork.c > @@ -482,7 +482,7 @@ struct vm_area_struct *vm_area_dup(struct vm_area_struct *orig) > * orig->shared.rb may be modified concurrently, but the clone > * will be reinitialized. > */ > - *new = data_race(*orig); > + memcpy(new, orig, sizeof(*new)); The data_race() removal is unchangelogged? > INIT_LIST_HEAD(&new->anon_vma_chain); > dup_anon_vma_name(orig, new); > } 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CC51EC27C76 for ; Thu, 26 Jan 2023 00:23:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Mime-Version:References:In-Reply-To: Message-Id:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fkhwjsbowI2D8UIOEiYWVOipjjni7bgi9l3PAzT1l7U=; b=26JEjhi2hxYaQX SeEHBgikt+yeryjpcSpjJcduhyQlid5rwSGamPJ/GKSkPCs8kwGKzlvU3VWIL51mUBACdbMYFyGu1 AThq58Zosgcr8R0GlztHPmjbpmBuhxw/M6RO5T08LxzppJs4OpxZlkFDrgQAPKyNWoWc20/XN+rSk lWzhS9sTWWU6dhPkphdFSsuefCjySbAqn9fnpljiQL0ZaCLoSqWugu7BBow7v73sysTXVGwDrbKf4 a+o88JaRPG7MpnyEiC3kuebFMedIYr7BouMjSam+Gq+5F3aI6MoR67Hqny1H7sFoJp7dX18mVQPNY I+Ok75pMIQLiz4AyF+kA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pKq1n-009AVl-Ke; Thu, 26 Jan 2023 00:22:07 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pKq1k-009AVO-O1 for linux-arm-kernel@lists.infradead.org; Thu, 26 Jan 2023 00:22:06 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3CD1CB81C5E; Thu, 26 Jan 2023 00:22:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40041C4339C; Thu, 26 Jan 2023 00:22:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1674692521; bh=jgiR0d8hUFYk52IUlDU+5+WUlWzBEfGIiyIxt9qM28M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ULxhZQ8c8CFbkpJnZkQWozl7DcYVx5jaXu3rzUm9YEUVUUBF3LoSFC62/+TJOYZaR XqOGcbMw9b1nL+CccygWmx/zE9bKSUO+vNPz8Irpn2cZdIGClGOwo3gE90ADY2+Gol bLVO3uhuoeYOQb1698Ohp0oHoLXvcFQkBDfiZnyc= Date: Wed, 25 Jan 2023 16:21:59 -0800 From: Andrew Morton To: Suren Baghdasaryan Cc: michel@lespinasse.org, jglisse@google.com, mhocko@suse.com, vbabka@suse.cz, hannes@cmpxchg.org, mgorman@techsingularity.net, dave@stgolabs.net, willy@infradead.org, liam.howlett@oracle.com, peterz@infradead.org, ldufour@linux.ibm.com, paulmck@kernel.org, mingo@redhat.com, will@kernel.org, luto@kernel.org, songliubraving@fb.com, peterx@redhat.com, david@redhat.com, dhowells@redhat.com, hughd@google.com, bigeasy@linutronix.de, kent.overstreet@linux.dev, punit.agrawal@bytedance.com, lstoakes@gmail.com, peterjung1337@gmail.com, rientjes@google.com, axelrasmussen@google.com, joelaf@google.com, minchan@google.com, jannh@google.com, shakeelb@google.com, tatashin@google.com, edumazet@google.com, gthelen@google.com, gurua@google.com, arjunroy@google.com, soheil@google.com, hughlynch@google.com, leewalsh@google.com, posk@google.com, linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, x86@kernel.org, linux-kernel@vger.kernel.org, kernel-team@android.com Subject: Re: [PATCH v3 1/7] kernel/fork: convert vma assignment to a memcpy Message-Id: <20230125162159.a66e5ef05fecb405e85ffec9@linux-foundation.org> In-Reply-To: <20230125233554.153109-2-surenb@google.com> References: <20230125233554.153109-1-surenb@google.com> <20230125233554.153109-2-surenb@google.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230125_162204_980898_20809827 X-CRM114-Status: GOOD ( 14.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 25 Jan 2023 15:35:48 -0800 Suren Baghdasaryan wrote: > Convert vma assignment in vm_area_dup() to a memcpy() to prevent compiler > errors when we add a const modifier to vma->vm_flags. > > ... > > --- a/kernel/fork.c > +++ b/kernel/fork.c > @@ -482,7 +482,7 @@ struct vm_area_struct *vm_area_dup(struct vm_area_struct *orig) > * orig->shared.rb may be modified concurrently, but the clone > * will be reinitialized. > */ > - *new = data_race(*orig); > + memcpy(new, orig, sizeof(*new)); The data_race() removal is unchangelogged? > INIT_LIST_HEAD(&new->anon_vma_chain); > dup_anon_vma_name(orig, new); > } _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 CAAC9C27C76 for ; Thu, 26 Jan 2023 00:22:08 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 482EA6B0071; Wed, 25 Jan 2023 19:22:08 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 433296B0072; Wed, 25 Jan 2023 19:22:08 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2FB7F6B0073; Wed, 25 Jan 2023 19:22:08 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 21B396B0071 for ; Wed, 25 Jan 2023 19:22:08 -0500 (EST) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id D6F261A0EBE for ; Thu, 26 Jan 2023 00:22:07 +0000 (UTC) X-FDA: 80395047894.10.69BBB3B Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf18.hostedemail.com (Postfix) with ESMTP id 12A161C0008 for ; Thu, 26 Jan 2023 00:22:04 +0000 (UTC) Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=ULxhZQ8c; spf=pass (imf18.hostedemail.com: domain of akpm@linux-foundation.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1674692525; 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=E4IcKE3vOg5ugtWAPEtDiOceqvZ4WdKP4/cgP430b14=; b=RsKJGsXRZNLCxRMp73TW9i7yZejiVGYCytOD8lXyVmh3AdWwbT49j2/EJhZG91i7HK3aHo 4c8GX3niBghPB2tloicbwJ0af0MFDvqOrFCfQBj35pHo6CbKJkGif28MSrtITjRPRNqy5E 6SjniqjPEynw49e0BeIh0kRuMsAaV1Q= ARC-Authentication-Results: i=1; imf18.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=ULxhZQ8c; spf=pass (imf18.hostedemail.com: domain of akpm@linux-foundation.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1674692525; a=rsa-sha256; cv=none; b=Ye+2PyS2Pmqtw9lj+zNOar0OSwAd45Z80SZQBWkYiLDrhx0wxUXne0rtuiAiOzVopRykf+ ev2Snt4KsY3MbcOjjH/cGhe5zHzEYsdpn1eoFwxJZyx7EzhUF6isLNOmS5+8AdHHwe2gIF 2U2zXymXb/gpPDtRjvksbiT3rX8N4TU= Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3CD1CB81C5E; Thu, 26 Jan 2023 00:22:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40041C4339C; Thu, 26 Jan 2023 00:22:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1674692521; bh=jgiR0d8hUFYk52IUlDU+5+WUlWzBEfGIiyIxt9qM28M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ULxhZQ8c8CFbkpJnZkQWozl7DcYVx5jaXu3rzUm9YEUVUUBF3LoSFC62/+TJOYZaR XqOGcbMw9b1nL+CccygWmx/zE9bKSUO+vNPz8Irpn2cZdIGClGOwo3gE90ADY2+Gol bLVO3uhuoeYOQb1698Ohp0oHoLXvcFQkBDfiZnyc= Date: Wed, 25 Jan 2023 16:21:59 -0800 From: Andrew Morton To: Suren Baghdasaryan Cc: michel@lespinasse.org, jglisse@google.com, mhocko@suse.com, vbabka@suse.cz, hannes@cmpxchg.org, mgorman@techsingularity.net, dave@stgolabs.net, willy@infradead.org, liam.howlett@oracle.com, peterz@infradead.org, ldufour@linux.ibm.com, paulmck@kernel.org, mingo@redhat.com, will@kernel.org, luto@kernel.org, songliubraving@fb.com, peterx@redhat.com, david@redhat.com, dhowells@redhat.com, hughd@google.com, bigeasy@linutronix.de, kent.overstreet@linux.dev, punit.agrawal@bytedance.com, lstoakes@gmail.com, peterjung1337@gmail.com, rientjes@google.com, axelrasmussen@google.com, joelaf@google.com, minchan@google.com, jannh@google.com, shakeelb@google.com, tatashin@google.com, edumazet@google.com, gthelen@google.com, gurua@google.com, arjunroy@google.com, soheil@google.com, hughlynch@google.com, leewalsh@google.com, posk@google.com, linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, x86@kernel.org, linux-kernel@vger.kernel.org, kernel-team@android.com Subject: Re: [PATCH v3 1/7] kernel/fork: convert vma assignment to a memcpy Message-Id: <20230125162159.a66e5ef05fecb405e85ffec9@linux-foundation.org> In-Reply-To: <20230125233554.153109-2-surenb@google.com> References: <20230125233554.153109-1-surenb@google.com> <20230125233554.153109-2-surenb@google.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 12A161C0008 X-Stat-Signature: c6knhdgjy3oybn3tnqb6stwjcnsh5qw5 X-HE-Tag: 1674692524-129252 X-HE-Meta: U2FsdGVkX180146sYv3xZh+Vh4Co3Tes+SR3r6SCDUqoqxNtbdvq6jYda+lbfhi2HiPubh4/lPBYXridzc+/jbPb0A8Zd9CbZ95UN/AfM9tHsicxfip8QEa+lVWSG/grOUGcXqaGUg62QrxiM1St+UGXeUDrHjmx4dswMlJlP85Y2QgyqW1oPBpqrQYoxHHyjdoXAXEOELk5RcWFSWrWMw+7yWMKSQZ1zjkTTEEv2s/ZQJ+H86D97LfMeuih7ONhDGxzZbNRzZ+P1Gwkd1OmcAFmlKHzIVGuLEToveigneJA1PsRaX5cbL824vv8VptnBJ5Nfwv3JNeudyNWjBFMjWgMNTqWEuzV7Jxd/DhPSeHolq4cfyaVR4S9uhXu46RpmwlujEqjiR7bixcjLVUEH+1cXwPaPXePYw54HflgNTcYFAs496uWz8RsqJEwkVu4QaFrZx4k/wa+B2fnxNMpRXIb5BvgoWAEm0FJoQqpZEo238E4VWgksWtW2PGMOGGvt9645wdRqi7WEzqVpxtZdbG8HB/aEr/IOrym2ErTlKRKVXEJfNSFyBnxeshqc9fIJVR2lKO/s1UKadCaj69eb3337afdObBcs4WyseL9tarw6Wn25AKCSkrbDe5uoe/r5ZivyG/q7E2Y7G7b1nC/6gdg6tGgJuN6aNpnkSg3plEJxYjfNVbAfnp0nOUF5/N4oGCadKq24LvNrkrEAC3l9mJ/D07wegqMieIdDYE84CvGI/0gC10lHKulbhcD7apUkJcwSphbrtLOBJV2/JXttEKQ6GzZHQTMu/AbEpSTPIF530EaF4dYPrXFb4vGRu0s0RvMJJOw7FLEPHxnSOVvwveP9l2I6SfWyIDzkLy4aejyiJW6vELdpD+RemqJLQXIOVqcJ9cCqa/6ArtMTYMIEBQ39cuc26RE3QNxiWkvyFO0J3lCz9y2RTdecLpzcOTMflhyblq6QtI+YySCgT2 Ct3Hpo86 KYFINyOOpSYPlAxekKUCWmouo2rJZ9osHa5O+pLTrQVjsA1afaMoDYIs6D2aJZzzfxpEsTCQNuUaQGLzSCgiuBpnOsLFDYaWgMf7HfZlfTrFR9Ky+QR0QH54rZlHjpXx/JnYRa8F4lkMujHYPXIsAECAL5IpK+vEYI7iAnkbmjywjo1BA9zMmOwhXhXmAeF7T4LxzPay6/jC3cmfmk4s6qCCZpqgO8Cs5mdHJa3kZNcowynk4n5N2mBubYN7Q8+C64K+y4740QL9maplGyyR+vlrhayH5EEqGwiCAiXeljygynwhPD62Y47YTkwwjCaMepiEiWOPhWZeqBvO610/jTgjWTIN6fWuluvSSw016RIkwMG+aulgF5l+8hg== 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: On Wed, 25 Jan 2023 15:35:48 -0800 Suren Baghdasaryan wrote: > Convert vma assignment in vm_area_dup() to a memcpy() to prevent compiler > errors when we add a const modifier to vma->vm_flags. > > ... > > --- a/kernel/fork.c > +++ b/kernel/fork.c > @@ -482,7 +482,7 @@ struct vm_area_struct *vm_area_dup(struct vm_area_struct *orig) > * orig->shared.rb may be modified concurrently, but the clone > * will be reinitialized. > */ > - *new = data_race(*orig); > + memcpy(new, orig, sizeof(*new)); The data_race() removal is unchangelogged? > INIT_LIST_HEAD(&new->anon_vma_chain); > dup_anon_vma_name(orig, new); > }