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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 736E3EB64DD for ; Sun, 2 Jul 2023 14:11:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229761AbjGBOL3 (ORCPT ); Sun, 2 Jul 2023 10:11:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229516AbjGBOL1 (ORCPT ); Sun, 2 Jul 2023 10:11:27 -0400 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 551D0E55 for ; Sun, 2 Jul 2023 07:11:26 -0700 (PDT) Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-666e5f0d60bso1821063b3a.3 for ; Sun, 02 Jul 2023 07:11:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688307086; x=1690899086; 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:message-id:reply-to; bh=3ivs+q0bj7Qjxz2IiyBr82w8PQwpyo1fbvjPNqY7ooY=; b=CUwaDrb2T9ha5dPZ3V9rZp++iApzuUxp1qBYCNzDSosdkRYW6xDmU61B8d2TjF8jV1 Z6hDLNIVgWIQEFbPTrXMwbexw8Hjzo6X2cI3VIfkbJdNPE9u8qvr5TNDxJ1Jr3bNmfiZ hq8yzLDHUGUodCSFAXYukebMlceqfXW7viUFU9f/joifL78AOmyOlI+QdPFZA/hkJpvt +41Fa+kGcPjfpHL8v1Lp9OoyDzLEoQEi8HIrOFNbs8lc2YitP7uwhm2SFeCAARPdXzWn AA5Qfu8tYii59oy2mJ8L9GODyZCB/EJQ6QeKiOE5PAgAqWeMvvbm6YQbGYeRqsAB24md LeGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688307086; x=1690899086; 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:message-id:reply-to; bh=3ivs+q0bj7Qjxz2IiyBr82w8PQwpyo1fbvjPNqY7ooY=; b=WGgMZ9425YwpjuYNQ6rpKCuut3mtQOavOFVbAlGKT3I1/38sm4//zYJRYANAvxYUK7 EtcPy75BKnqyuMAdtdIg5B/8Kji2blkQwvruosP4gPK7z6HakB71jnzSmZZ6xaEu+on0 WvGRT+Qng1g6GYVUjC8P+dfJoTZ2EAxR9vdXUEEjvzeUFoiZNMza2gQ4jwUU+lwUP6je SEKOVAaKoJBuBIdeeL1b/n3i3yyYcKRuYwDh7CIlGVt2IXtIbx4tcj92oMQmnHvelODa 97lNfcVpYLjL/ZfwSbjCe5h/RynJfvd+Dc9JG9gkqgewhpP7zHA/nXlPF0lFYsEf6QTD Hz9A== X-Gm-Message-State: ABy/qLayf+Uj2SBBfjeIXPl8Iux4nz94XMg2PRod/7gO1zSH7G2CHl5H TCnidOb8v034xYa3Q50c09s= X-Google-Smtp-Source: APBJJlGvN2Usr+JzDs2tOPcsiSrDfp1sHI7MMhqo/KzQjMYzTVozbL/PHOEn8emK002vzeudgn6NhQ== X-Received: by 2002:a05:6a20:6a0f:b0:119:5af7:7cef with SMTP id p15-20020a056a206a0f00b001195af77cefmr7833284pzk.56.1688307085745; Sun, 02 Jul 2023 07:11:25 -0700 (PDT) Received: from [192.168.0.103] ([103.131.18.64]) by smtp.gmail.com with ESMTPSA id x48-20020a056a000bf000b0062cf75a9e6bsm1589746pfu.131.2023.07.02.07.11.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 02 Jul 2023 07:11:25 -0700 (PDT) Message-ID: <306e4057-5e40-f0c1-d06b-2adab0eee37d@gmail.com> Date: Sun, 2 Jul 2023 21:11:15 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: Memory corruption in multithreaded user space program while calling fork Content-Language: en-US To: Jacob Young Cc: Suren Baghdasaryan , Andrew Morton , Laurent Dufour , Linux Kernel Mailing List , Linux Regressions , Linux Memory Management , Linux PowerPC , Linux ARM References: From: Bagas Sanjaya In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/2/23 19:40, Jacob Young wrote: >> Jacob: Can you repeat bisection please? Why did you skip VMA lock-based > page fault commits in your bisection? > > All skips were due to compile errors of the form: > make[3]: 'install_headers' is up to date. > In file included from ./include/linux/memcontrol.h:20, >                  from ./include/linux/swap.h:9, >                  from ./include/linux/suspend.h:5, >                  from arch/x86/kernel/asm-offsets.c:14: > ./include/linux/mm.h: In function ‘vma_try_start_write’: > ./include/linux/mm.h:702:37: error: ‘struct vm_area_struct’ has no member named ‘vm_lock’ >   702 |         if (!down_write_trylock(&vma->vm_lock->lock)) >       |                                     ^~ > ./include/linux/mm.h:706:22: error: ‘struct vm_area_struct’ has no member named ‘vm_lock’ >   706 |         up_write(&vma->vm_lock->lock); >       |                      ^~ > make[1]: *** [scripts/Makefile.build:114: arch/x86/kernel/asm-offsets.s] Error 1 > make: *** [Makefile:1286: prepare0] Error 2 > 1. Please don't send HTML emails as mailing lists reject them. 2. Reply inline with appropriate context, rather than top-post reply. -- An old man doll... just what I always wanted! - Clara