Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp284730lqp; Fri, 12 Apr 2024 19:01:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUQHmNGrGouWoHAXNzrjE3dVl40C15NVwBAThY7KumQh6DPjzEUae2reQyF7txy4uvTTW7otBWRE7zHK/RzmDkZpYIFlInhK28TN+C0XQ== X-Google-Smtp-Source: AGHT+IGX4v/SV8+wIWRc2QTRkAYWI0Gsi+LMgBCjil4HqsOHqdofyp/3HRb9M8/Ij3JOthhjReCq X-Received: by 2002:a05:622a:64d:b0:434:622b:d054 with SMTP id a13-20020a05622a064d00b00434622bd054mr4415152qtb.66.1712973708736; Fri, 12 Apr 2024 19:01:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712973708; cv=pass; d=google.com; s=arc-20160816; b=QnlsBHKi0G9nkHaN8k3mQ4MTBjPhWzu+UDbHVfxLDEhR5XjLkEScwKfWUK9qtHD4Lu w1RaDtNpS877F1/eatNhPWJI+2m7FUugIANUqzae1oi0Uu1NXLfKyDKtedsisw5S2rGs M/3LxGRG9z4S2tHjXMLF87KNyMAFMhFUtvKv92Ix6cpuy9AhYNXos5eoAlZZcZvRlyIR CZDDxHqX8UoCuwMsm/LcneOuriSHn+F3zyJgRRjVODljqQt1eDwDkLzOVSO41IuLrEyF vIW9r9e1L8SQJrJBXQE2qqdrx93lfDW5h3vr1+BhyijdKlCMP2KOyYxqCPrLis0MUpiN gIZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=p/2hydVnnlEbKTZWwG+nen+utD/CQpvcPpWEmaZG1X0=; fh=lo+mWQ9PXc5WZOHYhKsDSi6EnaKb1EBXUeGEVBHLqIQ=; b=eIs1fVCYETx3yPhzcXwovUNOZnxe9IjzAIN9cbe9P+RrqoLtK6nVurRGnyR68FVDZE 2oFj56FnlijDQ1eulB4DC4+J6NWpv4+pvQpeX7+NnvFNx8YxiL5qutnqcYzh2Ori90Dg bcJSPK1vdoDOguxILODvo8vGT2G0Bs9ctXPv5rGQfu/1fSuFgUL91Pt20+PZP1CFazMI baDUvdqZ6Y7Fv1ZH96zwJ8h8oJW4pYHM4CUKO5j2BOl/VNVVnuj5yS4R+6q8595C1cgd anu4vhmXaONKgrwrPYqlULbNKIBiLDi076U7giLVbvpQ0oqFrORsq3pRgE+Ij2mb2tHQ eKHw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YhXvchdx; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-143509-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143509-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h17-20020ac85851000000b004313be34033si4967249qth.719.2024.04.12.19.01.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 19:01:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143509-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YhXvchdx; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-143509-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143509-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 710FC1C20E8E for ; Sat, 13 Apr 2024 02:01:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 602AC14285; Sat, 13 Apr 2024 02:01:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YhXvchdx" Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 00D7410A19 for ; Sat, 13 Apr 2024 02:01:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712973702; cv=none; b=Jv3hsGRFIFNZlVfVM01ONVV/fyt81ZwIsKyeln39WshhgtjhhOJrVkIH7GpWk6JVTwtIqjxeLGCx79x8jgFu8hJWv3x3rPmeNA82rwSWlsgWqxBzP0axugNYIhYU7wK9fRtr3IlxmOqPnPGCPJJC8NSimvZ6p9YfMgOIeYzY+6c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712973702; c=relaxed/simple; bh=p/2hydVnnlEbKTZWwG+nen+utD/CQpvcPpWEmaZG1X0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=fUiSPGLK9UxZutnZdw43wpwBdbZZ4nZywpfVaYKzGNvB7FmylSxS6ARV9cmzgggQFzLYWEavpRIGugabt8TY75DJnO67pjX1GWeq99B0zPeOSgiGbZBW25J0HJXiVlwJtPfzVYLapgIrz7ZKU9Xt6wXWFAUDAoG5hVrl8wPL5U4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=YhXvchdx; arc=none smtp.client-ip=209.85.208.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-2d8b2389e73so15018711fa.3 for ; Fri, 12 Apr 2024 19:01:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712973699; x=1713578499; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=p/2hydVnnlEbKTZWwG+nen+utD/CQpvcPpWEmaZG1X0=; b=YhXvchdxwSpqIsMYezQXre5h2uWHe9pmytB9uSv7F1q86v1ZKOZe2Bj6QWXPPT6BC9 3HYvJBG4ePfdX1kTzxOoSJIptg+w43h8lS3X0tgsX41+EUFaz5phVQCKu7fnRIdwUev0 QpANy7EBoeb+pfeseO8REUWnJjITLBAqKytXM2sZ63Gvv5r23ErtCcy1w0EON33h6kiu k8GBLlBViAjA2806YpvON28eTz5wOGSahQ8krOkxJcdSECs1RWr1rLV99WdJNa1oHMPk wWR7/SJDDLiCZmXXiX7S+LebD6mxKsVplVN8rIK9Xs09xccju7EmfvC+pPRVDxdgwnqs aiGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712973699; x=1713578499; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=p/2hydVnnlEbKTZWwG+nen+utD/CQpvcPpWEmaZG1X0=; b=Fq5+LVGPSDWi7qdV13czXb76yI3GDvoHcDfOZjf9a7DK3DLaG8DzEH/PMRBF8mr7wv Or60pr6r7OYnanQlgmJl5wu36OtI1jfHSWoRfL8F9oXmbHO2ZWjunvC4VHFJqoQAB6Pf x/2EQWJ0TtOxfIuD9pR+MlfaMU8YnQmAP/2z3p1WzTa1dwDzIzm5C8FYm9SpL9d9X8VG 2RkJvXjkDmchOHXqCmR69PvvyX4xcsgx6BFr7a5yTdHzIj+o21W505OCBVYPDyUfZ/Yi Z2FfQIWjSMP/OKLlUkJiO087hn2Hq//nkLQKjlTJMEKCNLB0LeYhg3JtVKLF0qBUiTji ssUw== X-Forwarded-Encrypted: i=1; AJvYcCVHXGdrsnNPfk4HCpdk8AYBFtipbnvrA6i2XMaqa2LKkUFtvRZGeMG1kwZwVKkdySzQSJAqRMRlWWcotXkkeQGOXc/mFRNVbD2DO0np X-Gm-Message-State: AOJu0YwZMUGSyP2RF0QliThmrGvvAIBy+86wGObgmmgys699vNrHWy5W KDCVowZAbKs6aOfhevAspITgww3h3Ykp6Kc9MgjrVJY4jZC+vXgz+LwmuxuN3cV0OZqSq22sWZw bN1wrnbmjSGHArejhupIrOa5B3Is= X-Received: by 2002:a2e:9f49:0:b0:2d8:3b49:f831 with SMTP id v9-20020a2e9f49000000b002d83b49f831mr2677746ljk.2.1712973698752; Fri, 12 Apr 2024 19:01:38 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240412064353.133497-1-zhaoyang.huang@unisoc.com> <20240412143457.5c6c0ae8f6df0f647d7cf0be@linux-foundation.org> In-Reply-To: <20240412143457.5c6c0ae8f6df0f647d7cf0be@linux-foundation.org> From: Zhaoyang Huang Date: Sat, 13 Apr 2024 10:01:27 +0800 Message-ID: Subject: Re: [PATCH 1/1] mm: protect xa split stuff under lruvec->lru_lock during migration To: Andrew Morton , Dave Chinner Cc: "zhaoyang.huang" , Alex Shi , "Kirill A . Shutemov" , Hugh Dickins , Baolin Wang , linux-mm@kvack.org, linux-kernel@vger.kernel.org, steve.kang@unisoc.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable loop Dave, since he has ever helped set up an reproducer in https://lore.kernel.org/linux-mm/20221101071721.GV2703033@dread.disaster.ar= ea/ @Dave Chinner , I would like to ask for your kindly help on if you can verify this patch on your environment if convenient. Thanks a lot. On Sat, Apr 13, 2024 at 5:34=E2=80=AFAM Andrew Morton wrote: > > On Fri, 12 Apr 2024 14:43:53 +0800 "zhaoyang.huang" wrote: > > > Livelock in [1] is reported multitimes since v515, > > Are you able to provide us with a means by which others can reproduce thi= s? > > Thanks.