From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (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 529E81A840D for ; Thu, 30 Jan 2025 20:37:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738269457; cv=none; b=RDyOJIj655G6IloCCwMLa83tAknRb8xfJPw9bq3IS9aHhTvpZhaggk3HZXrQ9a2F3h+FXblN4V1dTWXd4nKAd6BeKEL/PuTwrZb9PGYV4LIMFQAK3YQnZiOOqS7euMuhpiy/2zlaHMe7P3XBZn+HSWdfWRp0IGJZC5e6+bM5Nyo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738269457; c=relaxed/simple; bh=xT8Ut8gLz6JZTplLJnZjKEdD7Di9InMwjf2e/4aq99k=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=tdtqGy8utpn+1EUPrN4q4u4z739tTYnpuXuQAAYCPe/eYs0C/PD/40WkNJfGdBQ3So8pGb6UtpgqSV8uie8yBWSYOsVSKtg+VlKYUAsxEe1PHwuwUguHj4DLOCQiTuIgQRepj0jUSOxGWpCJW/8MX5z6rRNTn8USeGMtkR1l8y4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=v7tWGvBt; arc=none smtp.client-ip=209.85.218.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="v7tWGvBt" Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-ab69bba49e2so203416466b.2 for ; Thu, 30 Jan 2025 12:37:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1738269453; x=1738874253; 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=xT8Ut8gLz6JZTplLJnZjKEdD7Di9InMwjf2e/4aq99k=; b=v7tWGvBtWDgymFPE9TJ8ePUVMVQNn7yOt1pquGABTZEmIXPVd/SngyRtfl7jC9s90R Hwtd8LkajRsTmTK+bkwi8f8OrW+WRBwnJET91aYi9JUaRw5Y1VvhAQifqbtS32N5LkMi qvYxpB4kK/PAlp1m8Aru+cnBvytkoSj80SEDE26tga+nuTmrea2W1kiYKaXa3JwgzDx+ 5Tc7vMY6xEkLJByJhXYpSb0fHQi1paGIUiCtSLMQAPwEoqiZ5LNR71q4dJcGUnCMZqWE /lI7nQa4Qetv0qJZDVLFibXqX2qogVTvN4k7a5lHaF7VuOMwNj/92t/xwx8FQIy36FkF NJmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738269453; x=1738874253; 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=xT8Ut8gLz6JZTplLJnZjKEdD7Di9InMwjf2e/4aq99k=; b=maxRuB5GitYpZ36t3B46uYbSy9CXW2+Lgug/6eq7l3TLgVKj9k0LIxp4wAnM96rGyO 9bI/YmmIpdS21/lL4Lt33YAgoVn0ecgqmKiwN1kd8mDdKN1WuampGvx7rLEd0yu28r3s HuivpE198CaNwVV3+bUHSV3oKIZ9ThQGXyaxaIXo3l6efenJ4oYr/JbVTgUzgGF1lc+G 3TQEl2x4YEIgsra0s+SpAb0/z752wKV4V6JtlSBrU8ZqIfVlXPFQop7yD41c6W35bUnq AvqASB6MYOCY1LpSia1FDuMvil1AmWd6mwWNqdZDWymIksqY68Z1YJIFgE6OhnuLxN8Z Hkwg== X-Forwarded-Encrypted: i=1; AJvYcCUFBsCkTaRaD4OgERZq6Y+sHx/5JodUCSQfvHrM+lTyeIr7xSzeJa7Vl/oF94F81ZDpHMIWhTR9lzUwoZ4=@vger.kernel.org X-Gm-Message-State: AOJu0YylXWeLqmC+GTbImQKRSBP1tKKiMMmi4SJXOb1UFNNZ61ORxCNB 6RSbQr5DZJV1+01/9CePDRgfxSasLL3Yv+HVPeCKL9Vv5A0CXvVt+isKPvkQ44EOkRY3Y5VNpPv ARfF8ncoyo84K8suo2RraCx9RKHX4guO8pOBt X-Gm-Gg: ASbGncvpK7m9JfRFv1so8nJovtOhWMDUrQl6mGq30WtSQh7exc5PbbP+upuKql2Lq+s 8zoJwVE+K2vcAXkpkv/G4vQ5fwT9GtY8t546Ps4IOdknKeZYsCdR9ByOc14FcQs5Q/aGqB61+C9 g0nEoJOAeYqAYjRQaWHrnOQ+DTnwVxeg== X-Google-Smtp-Source: AGHT+IHgOIJu66b5+FkCjUTqLe+kFJ5pnzkiI2EWbnmTxxfuYeBlU3TGfepPLf9b4v1IsOlZVSVianh0S1Lnh6AsAs4= X-Received: by 2002:a05:6402:4311:b0:5db:f5e9:6760 with SMTP id 4fb4d7f45d1cf-5dc5efa8bcdmr18615952a12.2.1738269453403; Thu, 30 Jan 2025 12:37:33 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20250130100050.1868208-1-kirill.shutemov@linux.intel.com> <20250130100050.1868208-2-kirill.shutemov@linux.intel.com> In-Reply-To: <20250130100050.1868208-2-kirill.shutemov@linux.intel.com> From: Yu Zhao Date: Thu, 30 Jan 2025 13:36:57 -0700 X-Gm-Features: AWEUYZk-T3PmFiMQXizTQSxtfw262HuFGqWt0YvgioLZEIzF4uEgK1GJyl43NpI Message-ID: Subject: Re: [PATCHv3 01/11] mm/migrate: Transfer PG_dropbehind to the new folio To: "Kirill A. Shutemov" Cc: Andrew Morton , "Matthew Wilcox (Oracle)" , Jens Axboe , "Jason A. Donenfeld" , Andi Shyti , Chengming Zhou , Christian Brauner , Christophe Leroy , Dan Carpenter , David Airlie , David Hildenbrand , Hao Ge , Jani Nikula , Johannes Weiner , Joonas Lahtinen , Josef Bacik , Masami Hiramatsu , Mathieu Desnoyers , Miklos Szeredi , Nhat Pham , Oscar Salvador , Ran Xiaokai , Rodrigo Vivi , Simona Vetter , Steven Rostedt , Tvrtko Ursulin , Vlastimil Babka , Yosry Ahmed , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-trace-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jan 30, 2025 at 3:01=E2=80=AFAM Kirill A. Shutemov wrote: > > Do not lose the flag on page migration. > > Ideally, these folios should be freed instead of migration. But it > requires to find right spot do this and proper testing. > > Transfer the flag for now. > > Signed-off-by: Kirill A. Shutemov Acked-by: Yu Zhao