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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0510C5517A for ; Fri, 23 Oct 2020 17:51:18 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 39B722168B for ; Fri, 23 Oct 2020 17:51:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="ThO1o259" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 39B722168B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 6FD276B0062; Fri, 23 Oct 2020 13:51:17 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6AD726B0068; Fri, 23 Oct 2020 13:51:17 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5778F6B006C; Fri, 23 Oct 2020 13:51:17 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0152.hostedemail.com [216.40.44.152]) by kanga.kvack.org (Postfix) with ESMTP id 288056B0062 for ; Fri, 23 Oct 2020 13:51:17 -0400 (EDT) Received: from smtpin15.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id A3EC4824999B for ; Fri, 23 Oct 2020 17:51:16 +0000 (UTC) X-FDA: 77403931752.15.vest57_5a0ae052725b Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin15.hostedemail.com (Postfix) with ESMTP id 6A8D11814B0C7 for ; Fri, 23 Oct 2020 17:51:16 +0000 (UTC) X-HE-Tag: vest57_5a0ae052725b X-Filterd-Recvd-Size: 5456 Received: from mail-lf1-f66.google.com (mail-lf1-f66.google.com [209.85.167.66]) by imf05.hostedemail.com (Postfix) with ESMTP for ; Fri, 23 Oct 2020 17:51:15 +0000 (UTC) Received: by mail-lf1-f66.google.com with SMTP id r127so3058734lff.12 for ; Fri, 23 Oct 2020 10:51:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mjWltIsY/Tc/YTJZanmOnMdRvb0TAEPFdspWZ6zBj4M=; b=ThO1o259d6kg56YqDsLmT8MiBOJwLSiD9qKO4kwi21uldYbpY5uyCtH8bMuSvipaQl CAjmtz5HofISRTDvt16RteSXYTCR0nmL/dTW8wJ3RA9FrZ/uL5lQDuHg90R5IKGG2JeY BhpUEEHod/4CuMNQE9mr91H2mLES9qJx1qZ1A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mjWltIsY/Tc/YTJZanmOnMdRvb0TAEPFdspWZ6zBj4M=; b=o0qGjKc6O2wu4kUKhJMLFFfvGC349/c+v8SEIND6AuZERY5SAubmT5bV1ru280QbvY zIZ3hqfxgoE24XY0FA2vojb1dpEgyuTitJHozN0biyLF9GYiSszhMbT3uGfluaF2IKrG 0s2FMlxZnVq1fUBkQtp+IIOSoV98KI3yacGMfd8dq69xqVdqOH940tDe4TBq1HsgIZpz f8ZaSf4HKtDcxApZbPicWNvi53ABMNr8N6b+FR+KrGb/3jIRI836xmLtbtJX2tJo08t4 beUdKvZBzg38EkKAJ4XU2BS4E7XlG9FOUSP/bgWAmDBsgXPAtADeqEPmHddOf0UneGnh 9oyg== X-Gm-Message-State: AOAM532rensp9/kXC05uq3jz1XUpCyzmd7+2YcTy6RMa+KjFSMXNvrke 8YPpjQEKm/6ogP5OHzgyheytMk5ghTdRyg== X-Google-Smtp-Source: ABdhPJwrN1gGkKT+MT7vRSSpdz5DUOW7u4F2AWjkrOJq9RTsihNLS20+kENfRGUE0UprOqKhQiCSoA== X-Received: by 2002:ac2:50d0:: with SMTP id h16mr1220554lfm.445.1603475473887; Fri, 23 Oct 2020 10:51:13 -0700 (PDT) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com. [209.85.208.177]) by smtp.gmail.com with ESMTPSA id a28sm205792lfi.60.2020.10.23.10.51.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Oct 2020 10:51:12 -0700 (PDT) Received: by mail-lj1-f177.google.com with SMTP id c21so2477830ljj.0 for ; Fri, 23 Oct 2020 10:51:12 -0700 (PDT) X-Received: by 2002:a2e:868b:: with SMTP id l11mr1279720lji.102.1603475472083; Fri, 23 Oct 2020 10:51:12 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Fri, 23 Oct 2020 10:50:55 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [LTP] mmstress[1309]: segfault at 7f3d71a36ee8 ip 00007f3d77132bdf sp 00007f3d71a36ee8 error 4 in libc-2.27.so[7f3d77058000+1aa000] To: Naresh Kamboju Cc: =?UTF-8?B?RGFuaWVsIETDrWF6?= , Stephen Rothwell , "Matthew Wilcox (Oracle)" , "Peter Zijlstra (Intel)" , Viresh Kumar , X86 ML , open list , lkft-triage@lists.linaro.org, "Eric W. Biederman" , linux-mm , linux-m68k , Linux-Next Mailing List , Thomas Gleixner , kasan-dev , Dmitry Vyukov , Geert Uytterhoeven , Christian Brauner , Ingo Molnar , LTP List , Al Viro Content-Type: text/plain; charset="UTF-8" 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 Fri, Oct 23, 2020 at 10:00 AM Naresh Kamboju wrote: > > [Old patch from yesterday] > > After applying your patch on top on linux next tag 20201015 > there are two observations, > 1) i386 build failed. please find build error build Yes, this was expected. That patch explicitly only works on x86-64, because 32-bit needs the double register handling for 64-bit values (mainly loff_t). > 2) x86_64 kasan test PASS and the reported error not found. Ok, good. That confirms that the problem you reported is indeed the register allocation. The patch I sent an hour ago (the one based on Rasmus' one from yesterday) should fix things too, and - unlike yesterday's - work on 32-bit. But I'll wait for confirmation (and hopefully a sign-off from Rasmus so that I can give him authorship) before actually committing it. Linus