Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp3173061lqo; Tue, 21 May 2024 08:47:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXS4ha1SInErt07pp9mVdgYlfGhKgRgrNAB/W/cn/Sp/0ibCjUXFOutA/BhQXo2fd0L1f+CLBA3QN2DId3+PZBw4v34LPaOGftQO2WBNQ== X-Google-Smtp-Source: AGHT+IErP1cpx4K5fpp1eCKHzhBfH4znzRvqn68QyJuA/EjNsA1Zyj2J4zIuQvKqMSyLEA6XCjNB X-Received: by 2002:a50:9ecd:0:b0:56b:cfef:b2de with SMTP id 4fb4d7f45d1cf-5734d67ecb2mr23233863a12.26.1716306475725; Tue, 21 May 2024 08:47:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716306475; cv=pass; d=google.com; s=arc-20160816; b=OF5s1SkDX4ecYKNiKDHmtZGrbRYT5c12iLbqqNLVhc1gvTMEFk7UvE8K40oObCDQdb W7DKSYyECO2mvLhmzN3KXhC+04kc1vk0Qw4cf4GNcs1JdNAV/V7c6NddZNpKjYfxL4lJ XehnCJ44ncC3/PZQA5brw259myAni06plzcK0P/VQmuC07ldlqS6Gh3kg4Ljl0ua/imO PmRZJQTGOutHrbHwLg/KBy+524GMiMGp22nkaX+Lbukr0F/HST0RG7wjVGMFrIu/Ua25 6pFZw1WBAFs9eT2xt7d8tSQY6TGgBMcfKzXrDWyBinMNT7F3+Q0YJbntkrmYKaOIQ6et S6qg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:date:dkim-signature:message-id :dkim-signature; bh=8Q3D0/0B+f2wkHTGW5lf37HesfsMZnmiKoIexwp+hH0=; fh=2U/TNI7aJQ1b9lE/v04BvhaJjv2g6GWaQXad90s/VEw=; b=PCTHBSJJE4pM68uoui4XoNsiPCn9CmKDN53uv2d1JnyhyH0V74z71aSE4NlUnk2lFU G+5GrCG0Z6eIrRHbbSa84jh6xDSCeg+qD/8udO2eikvH3jQuVOVBWtnOlzqpGiZ4bEBs HSyC7+7Ru37t0efFkIhonvIgWjWrMXmcych2AWyUxrrikVz/wOmD2WlQp4l5BxqvDQ2A kXfO8n8TLIOnQdBs6V+Na0tWh2Dexmz83HYe+gtRuRHNZd67o1BPUD7+z/YvzHTteabo 88Sbi3SE5eIRZFIOq5Exw9dNIqmv3X9LfL4T+bynETZc0z+WqvdU8rbQhI4xCJEmBdQl zHqQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@marcinwanat.pl header.s=s2048 header.b=gCjKyA6y; dkim=pass header.i=@marcinwanat.pl header.s=s2048 header.b=l20fF07k; arc=pass (i=1 spf=pass spfdomain=marcinwanat.pl dkim=pass dkdomain=marcinwanat.pl dkim=pass dkdomain=marcinwanat.pl dmarc=pass fromdomain=marcinwanat.pl); spf=pass (google.com: domain of linux-kernel+bounces-185181-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185181-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=marcinwanat.pl Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5750956baa1si6532153a12.672.2024.05.21.08.47.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 08:47:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185181-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@marcinwanat.pl header.s=s2048 header.b=gCjKyA6y; dkim=pass header.i=@marcinwanat.pl header.s=s2048 header.b=l20fF07k; arc=pass (i=1 spf=pass spfdomain=marcinwanat.pl dkim=pass dkdomain=marcinwanat.pl dkim=pass dkdomain=marcinwanat.pl dmarc=pass fromdomain=marcinwanat.pl); spf=pass (google.com: domain of linux-kernel+bounces-185181-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185181-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=marcinwanat.pl Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7D1D71F22EF1 for ; Tue, 21 May 2024 15:47:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C755F7F48D; Tue, 21 May 2024 15:47:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=marcinwanat.pl header.i=@marcinwanat.pl header.b="gCjKyA6y"; dkim=pass (2048-bit key) header.d=marcinwanat.pl header.i=@marcinwanat.pl header.b="l20fF07k" Received: from mx.bitactive.com (mx.bitactive.com [178.32.63.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 01BE81C6AE for ; Tue, 21 May 2024 15:47:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.32.63.155 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716306466; cv=none; b=IHCEFVONZMJUhe0B3eHN3lwLOqH0kS8kk87ANJJL8y+qkSxdxXL0vM18fGol/dDhekw1nGNvHh+op6DhfpqV6LPuXnlQFa6fxGmMxkp0zDkUdSgo9X/ANv3YudU/RXHoX0i1TQG5nqumNwEOACAhbvP5ViHDIALk8YYbK01SNcM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716306466; c=relaxed/simple; bh=ET6AvymuhslWwRcEmBvCeaxWjr2PKY2wEpGzhu+nO7k=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type; b=Se/50GyASpSuqLK654YnxR9rc9HswhiBzpZZBtldHWyy0F4mQBXwJ8GgDlVyYzUewjc0q3sNhs3m+SsKbj4EzCL2lE5TSmBGSMDOKKYxP3yyTo07CfVP2M44SwfHSjXdlBSlI/0PrnpTtX3U76cmNnl77T5EC5tednh4taCObGQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=marcinwanat.pl; spf=pass smtp.mailfrom=marcinwanat.pl; dkim=pass (2048-bit key) header.d=marcinwanat.pl header.i=@marcinwanat.pl header.b=gCjKyA6y; dkim=pass (2048-bit key) header.d=marcinwanat.pl header.i=@marcinwanat.pl header.b=l20fF07k; arc=none smtp.client-ip=178.32.63.155 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=marcinwanat.pl Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=marcinwanat.pl Received: by mx.bitactive.com (Postfix, from userid 1044) id 4VkJjT6mWnz7mgb; Tue, 21 May 2024 17:47:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marcinwanat.pl; s=s2048; t=1716306461; bh=8Q3D0/0B+f2wkHTGW5lf37HesfsMZnmiKoIexwp+hH0=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=gCjKyA6yjEmDhohhSoM00rWoeb9zDFhO/q2BHhr+Dr9vau6Ql2INVw58h69IQnM3p 9Lz+c2eYVyAJFTZvUgEy63ukm84zZ9SuJ7Xfn0wxWq7bx3ZdwjWMEpWRqpF06yEbCm GxYUHlux5GsN9xGx5LuxJ3UrbSn08+F/yqSspUTnpbmxEMtWFcdBvchH7KgUF6flXd Qoqn6tzP5gvw+9vVk+vcXnMEns+K1c+QMgJW++n2GRyOzYMsg7spqoP0b9IlUJB4sN 3jK0UZqM70y6yqwUGmTq0NKU6g9d754ZflQZYC+zfdhfnDTCYimLHdiTHo0EkLXfIP CADLeAcLkpzzA== X-Spam-Level: X-Spam-Virus: No Message-ID: <2652f0c1-acc9-4288-8bca-c95ee49aa562@marcinwanat.pl> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marcinwanat.pl; s=s2048; t=1716306455; bh=8Q3D0/0B+f2wkHTGW5lf37HesfsMZnmiKoIexwp+hH0=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=l20fF07kmDb0ltVgOtfjcITz64kxoWyDCfhDGPMug9nL7z0FPzwR8x9y1K3VckuMO iDpQoDQf5HN0te1Cz0v4o+Z9JWM4146d5AUhBm+BIgkZAlowDAbYBFSoht4u4QFIHJ at2tJITyPEmGiGIwxcsapy4j5RYg0EIxlehgqZZAqrbuzZ6erjgUNBdXh9w3N6Q+I5 1QOTDpnyRVq4r9grXdpNH2rCIRmiYP8T/TRyTwXhju/MKyUDWV/zgPaz0+V+7ykegE BHTIhkhQ+0+/OmlkYiNbQvxXH9vmUu0rTbmlUVsrYQAUSCBziWrKvs6cTQ1npgnQEk dgIFPUsUHJKVg== Date: Tue, 21 May 2024 17:47:33 +0200 Subject: Re: [PATCH 1/1] mm: protect xa split stuff under lruvec->lru_lock during migration To: Zhaoyang Huang Cc: Dave Chinner , Andrew Morton , "zhaoyang.huang" , Alex Shi , "Kirill A . Shutemov" , Hugh Dickins , Baolin Wang , linux-mm@kvack.org, linux-kernel@vger.kernel.org, steve.kang@unisoc.com References: <20240412064353.133497-1-zhaoyang.huang@unisoc.com> <20240412143457.5c6c0ae8f6df0f647d7cf0be@linux-foundation.org> Content-Language: en-US From: Marcin Wanat In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.103.6 at mx.bitactive.com X-Virus-Status: Clean Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: On 21.05.2024 03:00, Zhaoyang Huang wrote: > On Tue, May 21, 2024 at 8:58 AM Zhaoyang Huang wrote: >> >> On Tue, May 21, 2024 at 3:42 AM Marcin Wanat wrote: >>> >>> On 15.04.2024 03:50, Zhaoyang Huang wrote: >>> I have around 50 hosts handling high I/O (each with 20Gbps+ uplinks >>> and multiple NVMe drives), running RockyLinux 8/9. The stock RHEL >>> kernel 8/9 is NOT affected, and the long-term kernel 5.15.X is NOT affected. >>> However, with long-term kernels 6.1.XX and 6.6.XX, >>> (tested at least 10 different versions), this lockup always appears >>> after 2-30 days, similar to the report in the original thread. >>> The more load (for example, copying a lot of local files while >>> serving 20Gbps traffic), the higher the chance that the bug will appear. >>> >>> I haven't been able to reproduce this during synthetic tests, >>> but it always occurs in production on 6.1.X and 6.6.X within 2-30 days. >>> If anyone can provide a patch, I can test it on multiple machines >>> over the next few days. >> Could you please try this one which could be applied on 6.6 directly. Thank you! > URL: https://lore.kernel.org/linux-mm/20240412064353.133497-1-zhaoyang.huang@unisoc.com/ > Unfortunately, I am unable to cleanly apply this patch against the latest 6.6.31