Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp739185pxu; Fri, 23 Oct 2020 12:03:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz72S5z/yx/iIS79rEJ/SJ+PgI+cIC651rcax7V+MRvSAx35K/5jEyrvBozzfgEEPEK+NnE X-Received: by 2002:a05:6402:b87:: with SMTP id cf7mr3805288edb.137.1603479781613; Fri, 23 Oct 2020 12:03:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603479781; cv=none; d=google.com; s=arc-20160816; b=qzlojUSOyOUA7FlrIVPApvkjlN/NlufHUch/J8M73ofDKpVDT0MU7Nthi7ym+7jPok R5JUcB1dLBpy5QUVehSxajr90Uiaivda7dCFOMPyBIX4gyqV+OfIkQrO+4IjqhAyKmWS aEYE4JH5M25L5LZ2mNZOyZBGca2yy4zddGtjhcN0jIepdEYgvi0E7N7KjEZWBTnWUNqZ eeM0gDFnyN0gjwrq3n3Mdil1/YJkfqMw/Qau0WLkl2Ns9r+lDbaMD63y4Zm8DYs2ItYD wsc+YUrFX8G+CSxrOpQ3mkG5GAxBYDNoIqi687sfl2dpQ5POYpsS+716dKBzfO30x2C6 jEjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=mjWltIsY/Tc/YTJZanmOnMdRvb0TAEPFdspWZ6zBj4M=; b=WehMAMHYg4A/An7r8qjM6AZYefXO0V3XkPT2ul44O7QFvt0ShdTYZRtVK9tuCjrAt1 COCY8232DCSczLE/ef+zF1wA0T7kwMFRXkOLG7CXFf09KSmaryv5/kB8vRFHYKloGgxm 3Q7nQp4PTibBk6U8RYgSFg2p12CusYhVMNPFp5gyoLIqbMKV/LG/dXltmV2e95Jx/20+ yx/iCjm9QeeOWMd3hT7o7B5hsRcIu3SY1UzTAsyyXuXN9PYbpR0NTWTjh7h5UQR8RHEf 63nMpvlrWn2sLKV+TY5Ih6/rFUOhUm0PuXsIY06FzBeWY36WIOTc1Br6bzU46SEXM5bp v2RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=ThO1o259; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v22si1512265ejj.27.2020.10.23.12.02.39; Fri, 23 Oct 2020 12:03:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=ThO1o259; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753851AbgJWRvR (ORCPT + 99 others); Fri, 23 Oct 2020 13:51:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753792AbgJWRvQ (ORCPT ); Fri, 23 Oct 2020 13:51:16 -0400 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81699C0613CE for ; Fri, 23 Oct 2020 10:51:16 -0700 (PDT) Received: by mail-lj1-x243.google.com with SMTP id x16so2476968ljh.2 for ; Fri, 23 Oct 2020 10:51:16 -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=naMjTYrYW4J+D30rzcQf72OP1koKJRGMCgTKzSew+IkWuQM5e+ejReTPL5IZH8pjBy 86cyiNBNvdpo1eXMKKPsDJlLJOXnPJYYVVyqmL0epTtJd1OjZEOxdfgQcEPaf6D/orqU J0FviDyWhwT/XsirhzHRCRpRLLhFM2JIODs9vkykqHTlmJcEOLTflB6YZT5CHE+JsOWm M2wXoOdYM4R/d8DdXfm3AXnm2IIvc6oio62EpdP9tz47NbJjAxcR9T+IlFLxKHmvVR48 zDI1wFHOevm1G4GuFOlRnzWVXNE8R+vqvDG2j073wZaIawKrP8TZKQ3zgYORZZFDah47 x2dw== X-Gm-Message-State: AOAM533EGAeAdmyqv36a4o4uxCwHOsPxqCU91qsWUVi8x4ki2S/HnMHu QfR+kg0MSjcTF3hPL3oOYUy8yog50Rcl9A== X-Received: by 2002:a2e:b009:: with SMTP id y9mr1239513ljk.372.1603475474713; Fri, 23 Oct 2020 10:51:14 -0700 (PDT) Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com. [209.85.208.182]) by smtp.gmail.com with ESMTPSA id l6sm201432lfc.8.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:13 -0700 (PDT) Received: by mail-lj1-f182.google.com with SMTP id h20so2456180lji.9 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" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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