Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1215564pxp; Sun, 20 Mar 2022 09:24:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpwhi+CuBnrdJ1l7gnXiOjwtfKpUsRp/jPq5lfUMZrNbigd8Abz5tqA+hOrGjl7oClNC1G X-Received: by 2002:a63:ee48:0:b0:382:4fa9:803 with SMTP id n8-20020a63ee48000000b003824fa90803mr5232060pgk.385.1647793459331; Sun, 20 Mar 2022 09:24:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647793459; cv=none; d=google.com; s=arc-20160816; b=o5DvCA4lKpQCVh8FQm540F83XPK9JGmGbcFnggfNcAIhyae8kAaNHp1Xy5mEhZZ1Vp wqJyQngM+lOvkFBo7bR2mraX+Uxl47i62rNoIsP0o/2ZZczKT0KAAqNZnM6sONTs9byL GDOdplSqGydVAJFIVU4x8eLY2ndONM0aZK0L439bu1AoDkjdOjNfqQBsSrP4oSADplXO 7PHmr6txyCBG19Vz5DaWqNANV8El3b+e/epKGu0l/lFxGf4ubAC7kQKCyRIne9mJK/lt RccqsfWE5EbBEA3cRqTYGyUA6QD2S72J2Cr3LsPZQxp9j/KSQSvZ2oTu5WQfkQQFLuEX nmrg== 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=kAE3uuJYaI6bZvK1JirdmvyIyu+ZeP4A7IF2vH7oYhI=; b=SqEM/HdrrDLCbflgoPj7TpTxI4OIEwjTSB/Tyvw77A/hO6vsXCwdLi24suPz8S5A7E dhnRnP7N5VxOA+4AsMs4mQFFOgMTrjGGesg1eP+9qvF08EYFlwBuTC0tMpVq1c4ERJfj CA9xhvk4NVX+dpWSd9vdpW3yFqUttiSog2jmr1/e9Q08kwefg6eRefTyj3R2NGHjUXPZ +Mlw18vtV4/RQmrJaQYE9RboOoqtnHsgcDnDMbtAo/9kehXefCD40mIr74DpfUMVPZBi rv4NuiWnyFvGXfgzAxo5YOOAURT+QDqPFcy7RjwDEpSVYQ91ZEz2hjmH9H2vSDYQTZ0A U26g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cloudflare.com header.s=google header.b=mOYCnnUx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cloudflare.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 13-20020a630a0d000000b003816043ef70si9871847pgk.357.2022.03.20.09.24.01; Sun, 20 Mar 2022 09:24:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@cloudflare.com header.s=google header.b=mOYCnnUx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cloudflare.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236012AbiCRQcE (ORCPT + 99 others); Fri, 18 Mar 2022 12:32:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239277AbiCRQbx (ORCPT ); Fri, 18 Mar 2022 12:31:53 -0400 Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE63D1B84D8 for ; Fri, 18 Mar 2022 09:30:20 -0700 (PDT) Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-2e5a8a8c1cdso87911767b3.3 for ; Fri, 18 Mar 2022 09:30:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kAE3uuJYaI6bZvK1JirdmvyIyu+ZeP4A7IF2vH7oYhI=; b=mOYCnnUxwb1osdLgXKMQa4A9q4QPWM9rhR+WhIZaDXV9nNkbEQeKnyjoT4a99+aSuN eF3SZaDvHbMGMLFbwS5OYwy0MsweHwpZZw5JzmfyW7ivcIWJ6uf0ZgB9B0CW5MC6OAdp W0TeQxoZCujax5Mn72w3oTLaCYhWpd3zCAEZ0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kAE3uuJYaI6bZvK1JirdmvyIyu+ZeP4A7IF2vH7oYhI=; b=4eWGWD9Rj36TmTEvniQcno1apzo0PJHOmgdABT2CfAiak3V0KK90BdlimnLPMOeLbM ZWp5msrAHZA9UjgxTb9U+Cp8IGJP3o5wworT+bR5WgAQvKMOsQgHBRq1ySiqkI6e1vVr G3jEqmgz/6qxphL6D2LVrXstGlWmee4v1bpPFflLKCV+g2uMU+JZSy07RC5j2Qa+IQpY R7zC8ZGCK4vPbX9IM/YRD3oveg0OhzEHiNsUkmU2c72RIs3VUvLbvs2wr5mPLExRl2Ca 72vqV85peVT0W21Pj3QyRfhzn8cFypXFJKA83ru7MBMijRUyoTJY67qqY+om11S0X8z2 j0xA== X-Gm-Message-State: AOAM531y146RaH9PEfTgcOaoAASOnPjDCKpkcewAF+/FRBWuM13hZxrG OFFsrnxdkYRBx3+w6dwedd4WEAYA+xJEHOLQV9KflQ== X-Received: by 2002:a81:a842:0:b0:2db:562a:3f13 with SMTP id f63-20020a81a842000000b002db562a3f13mr11684645ywh.322.1647621020015; Fri, 18 Mar 2022 09:30:20 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ivan Babrou Date: Fri, 18 Mar 2022 09:30:09 -0700 Message-ID: Subject: Re: zram corruption due to uninitialized do_swap_page fault To: Minchan Kim Cc: Linux MM , linux-kernel , Andrew Morton , Nitin Gupta , Sergey Senozhatsky , Jens Axboe , linux-block@vger.kernel.org, kernel-team Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 16, 2022 at 11:26 AM Ivan Babrou wrote: > I'm making an internal build and will push it to some location to see > how it behaves, but it might take a few days to get any sort of > confidence in the results (unless it breaks immediately). > > I've also pushed my patch that disables SWP_SYNCHRONOUS_IO to a few > locations yesterday to see how it fares. I have some updates before the weekend. There are two experimental groups: * My patch that removes the SWP_SYNCHRONOUS_IO flag. There are 704 machines in this group across 5 datacenters with cumulative uptime of 916 days. * Minchan's patch to remove swap_slot_free_notify. There are 376 machines in this group across 3 datacenters with cumulative uptime of 240 days. Our machines take a couple of hours to start swapping anything after boot, and I discounted these two hours from the cumulative uptime. Neither of these two groups experienced unexpected coredumps or rocksdb corruptions. I think at this point it's reasonable to proceed with Minchan's patch (including a backport).