Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1006186pxp; Sun, 20 Mar 2022 03:28:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7dYxqv0xBfQgzX2XasKt5IcJ1vTKBBPsWxRF4PgB6YMf+7nFB0UnoRHbgn90Jsw03rw9U X-Received: by 2002:a65:568d:0:b0:382:2e6f:f098 with SMTP id v13-20020a65568d000000b003822e6ff098mr8682425pgs.242.1647772122303; Sun, 20 Mar 2022 03:28:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647772122; cv=none; d=google.com; s=arc-20160816; b=AKkKLJdSTHhTxHW3nQALLHynqKimtp/6NIILocaOig9jXi866IFOMFf46f1LwjROKn V+gHRGzGs+idGBjTzG1oe9qO2KrRBRQYULfnTEkd2yJkUIfeaqGwgcC8S9Spkc3l2tjV k3nVzYm8s5Ybm0UtJF4TX3r5y73PJ/ATL7YQEZB6MHCONxdxwWewJh2HtnG2NAYPoChR WPB8jUzFCSnKqjZxRi1KSUSEII6EQz9v7c+76LlaGY+x84+BWcVH0oO49hlQiXMPolVx d7uukrlARAc2msk2u7x1deRV/bEiCym5D1Hc6kkTHejU0DdiW3te/A+uuLx+svjQMQXd Q6UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=EdgICBSx30HyYfo1Vfv7IDSnJiyy8MgsSfGKAttnYVg=; b=G+4wy9fWsFNPFix3uk+aVt1V23UNFbvoe6YGCJlBCdbw729WcRtC96d+pRwCv8XgW5 +dwwc80RaxeQtnAUQu+XS/3qyIr/kcYama5pnlyIqx3L9VCzh5qXlXvr46I70x3QqRR3 3eIkwDdDPiDkgICvY/lLyf+Zj8gp0V+sCxhUlXDacxS1Nj4LtC3pSqvNjMZ0y+NeLFfB MB9NABMHxfmpD2p6k0zCKsJFzCBWvQ+2xVyN0z+iK8KJmXWDULwXdKsVvFQ+PRlDaWp3 P3sLzK9QFLZiLWM/ipUmCfTOv+bSyGqouaUTXRLuomDpzTz3YbnybIl4YQDkmiKI+AG8 GMPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=egGHMuCY; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 17-20020a170902c11100b00153b4c149a9si6922780pli.624.2022.03.20.03.28.29; Sun, 20 Mar 2022 03:28:42 -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=@gmail.com header.s=20210112 header.b=egGHMuCY; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239654AbiCRRdi (ORCPT + 99 others); Fri, 18 Mar 2022 13:33:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239653AbiCRRd3 (ORCPT ); Fri, 18 Mar 2022 13:33:29 -0400 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF666180047; Fri, 18 Mar 2022 10:32:10 -0700 (PDT) Received: by mail-pj1-x102f.google.com with SMTP id mp6-20020a17090b190600b001c6841b8a52so5009636pjb.5; Fri, 18 Mar 2022 10:32:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=EdgICBSx30HyYfo1Vfv7IDSnJiyy8MgsSfGKAttnYVg=; b=egGHMuCYPkCj4tcVAbZQAnfcMI1Ux1Oe+2/+8STcZ0Q1T8ndYieave4kV99rYoPYwq 4x7tlFrdNA5u6w3Wb/BIinfJCYEGZDUi7rrAL3F8qCAoGHNSBCvOzUHvdaoKpCw24w/r XZIwyC+rg6Yu283b4pvPBSXTcty37Rtfe9MmoqxwshhUwe0UHjkO0OZz5zzxGS9nELbc pPaHWMc/URLe9ApGEWkzDLLiwTDNk46lAqcZht/+tGo9iDeesoKJKZhcVq4X5uPC/7c3 YVtkzH3rUYuXiyzW6cOAcB9wwM/g8x9eomRGMrYu57joA04yW8lXskH5S7uGlhO7Ki46 Se6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=EdgICBSx30HyYfo1Vfv7IDSnJiyy8MgsSfGKAttnYVg=; b=mCZimjobHXqS3BYorYX5jnXkk2QvMXCzow085rNNQ0HIY8Kq5CsCV9KfiqAJhtSkln +mwVDgohMlB0gWVBBayiG33FFJaNKq34g+OLWiPkG4QzdkcPUUffXb0Plfiui7eeMHM1 b6RiDOLfb5uHNZ1Sfepd1MqNDaIJaJjhrxu7b6gDVFj1jaZMNo8GOWTJUoeHYSWkJEMC cKUpTj4J42P5ySYPtE5ePDJZPE9eXPi2hdZG9BmVn/aTLnJJboc2eZSC2iuJ9Eu3xv37 /aO/kFrjV4+7sEq/oeHky2TgxqWrUVu6/5NG2EFvDYK7kx6aP7nSd8pc5T5HdtDJX3+n 2KuQ== X-Gm-Message-State: AOAM533hDS1bcntiA1moMKereupjCI3FY6h7YdP1e8Pnpxj7Z4y+CFD/ jl4jvVtt6cod0AggRV9QZ60= X-Received: by 2002:a17:903:1108:b0:151:9c42:7d1 with SMTP id n8-20020a170903110800b001519c4207d1mr563498plh.54.1647624730241; Fri, 18 Mar 2022 10:32:10 -0700 (PDT) Received: from google.com ([2620:15c:211:201:20b4:90a0:8e2e:6022]) by smtp.gmail.com with ESMTPSA id q8-20020aa78428000000b004f7281cda23sm9855069pfn.201.2022.03.18.10.32.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Mar 2022 10:32:09 -0700 (PDT) Sender: Minchan Kim Date: Fri, 18 Mar 2022 10:32:07 -0700 From: Minchan Kim To: Ivan Babrou Cc: Linux MM , linux-kernel , Andrew Morton , Nitin Gupta , Sergey Senozhatsky , Jens Axboe , linux-block@vger.kernel.org, kernel-team Subject: Re: zram corruption due to uninitialized do_swap_page fault Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Fri, Mar 18, 2022 at 09:30:09AM -0700, Ivan Babrou wrote: > 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). Let me cook the patch and then will post it. Thanks for the testing as well as reporting, Ivan!