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 32376C433F5 for ; Fri, 18 Mar 2022 17:32:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239677AbiCRRdl (ORCPT ); Fri, 18 Mar 2022 13:33:41 -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-Google-Smtp-Source: ABdhPJw3/ByU76tKO2bD48AXDGH4NMU3ah0PNGXbFs3dAk3waO8l9IVy8+SV/EqMYpksFwtEUgKSSA== 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: 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!