From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) (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 C7F8E14E2F9 for ; Tue, 23 Jul 2024 11:55:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721735720; cv=none; b=KuLQzA8/fLiV+kHCTG0kYqrXnwZRLt5FG4z2W23D2AFYvzLXGhJmcftGKDuwNdYgbP9sEsvLtqaoZUO7PSh+Ycls5ck3GDXne5gqF2Vxt15FaYQxdKPGa3dDwhfvaloqOeIfiAhfyH9lLjVY2qIWmw3fZSRozQ2XGdXtzEyqziM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721735720; c=relaxed/simple; bh=FOxCqSyEf0CvxvTenqZOAD0DVqWvt4ThHJZqpEjjwos=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ifipzLEG0MTifcfztoeMjCUZDWXVlMqvdJquZB2GyM20vAeVC70t1ujPPn39rcdjrDp4vKhyi9Clpp1G1H/CeFj00QGg+EroFpp4guLyj1UU/0a+Bc/dfsdxIrMt10sgP+W71XkDZkbI7Xgf22Go7zQ4XJMIoNYu5RDJouSseos= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=Wu9HOiBN; arc=none smtp.client-ip=209.85.208.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="Wu9HOiBN" Received: by mail-lj1-f172.google.com with SMTP id 38308e7fff4ca-2eeb1ba0481so80222441fa.2 for ; Tue, 23 Jul 2024 04:55:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1721735715; x=1722340515; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=WQoa6ehQ0YVDqTqctBCMle2kRcjPByagNYOUENJGnKA=; b=Wu9HOiBNI1thw55neck/bV9h2WuwIVOtqfVmNe17MEeIH/OpeDhMAFS9IY+Od8GYkg jCG/5mbl6zG2uHmvn2YJOYr84cr8UsqsTKGJmHVpWuQ5LYU6LIjWxjvUI7lCxhTRtDQy Q+iRkXzaNY5g+/ilER9onn2TLGMNrsw+cyazfj76vQ8ezx4nPMYgqvGqyFmH5Ue+9ELD ax5BF4i3Au8/bGi3e3Ix/vJe43HX7KCXjBZ3GWq+q5/Jm3bcQ/UKxS8FFBSuJSxk55yi L6oaeaYMHcy3fkL+Iw043wV47G174/jsnoCLgr3fBoUm2xfcS9bv0kEespNcLqjq+pkQ WODQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721735715; x=1722340515; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=WQoa6ehQ0YVDqTqctBCMle2kRcjPByagNYOUENJGnKA=; b=F4y5MeObWRAgNqOdCqSbpC++xWqsIpphwoZPHHmy/+Wd33CTQTRt5LRvqsDAoCri6u gavtZAzr8euQeNwvBxGW0OLvsf+Hm8qvRc79aA4H3RjshSis3M7xs1R/jsUzdfAwws+/ +o3VuA1z1NbrtvvbwAdzv1ACNBIII0sFpWUFKby5bcKzq76RreYTNhTJ+Ciz04e5YpGI YSl7/x/N+njF31lZh2X8LQ6WjJ3WQZjbfIPz2a5pQ0Rmi/748smkcEpuwgzlDB8eirXv wZpcvOBk+d1TxR1l36ASMXrA45CFwSsR+hJvbjse/EWNAc8dU7Jh2PTO0rOcetb0jh3a vPcw== X-Forwarded-Encrypted: i=1; AJvYcCVuzQyhnoWd1M/ZwKi+6xOBZ5ckzc4kcvcq6YFCV2fdk9uFpNg0q2GOmaS7L9MGo2wq2T8QPxht+D72uzUK9DNaT0cymaYX X-Gm-Message-State: AOJu0YyAXaRW/eF79n84Zt43Oe2nroRvN+ec8OG3e/3y9NoQEL6sk9Ya iRew0rNf2Fj8ByI44WcZ7BMEOZKO8uBKfUaqo5XC/f+CVG1rR7sbaai1Ky1HOzk= X-Google-Smtp-Source: AGHT+IEvYNwyaaxdoUFWVu7x/WsjFTLx1CzKrLG5et/326ggkrbDQ2+hTQ74UgEfDVQNIvnoJEu/BQ== X-Received: by 2002:a2e:95c2:0:b0:2ef:564c:a590 with SMTP id 38308e7fff4ca-2ef564ca663mr31778221fa.29.1721735714808; Tue, 23 Jul 2024 04:55:14 -0700 (PDT) Received: from localhost (109-81-94-157.rct.o2.cz. [109.81.94.157]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5a30c7d32e6sm7413595a12.84.2024.07.23.04.55.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jul 2024 04:55:14 -0700 (PDT) Date: Tue, 23 Jul 2024 13:55:13 +0200 From: Michal Hocko To: "Kirill A. Shutemov" Cc: Vlastimil Babka , Andrew Morton , "Borislav Petkov (AMD)" , Mel Gorman , Tom Lendacky , Mike Rapoport , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Jianxiong Gao , stable@vger.kernel.org Subject: Re: [PATCH] mm: Fix endless reclaim on machines with unaccepted memory. Message-ID: References: <20240716130013.1997325-1-kirill.shutemov@linux.intel.com> <564ff8e4-42c9-4a00-8799-eaa1bef9c338@suse.cz> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue 23-07-24 12:49:41, Kirill A. Shutemov wrote: > On Tue, Jul 23, 2024 at 09:30:27AM +0200, Vlastimil Babka wrote: [...] > > Although just removing the lazy accept mode would be much more appealing > > solution than this :) > > :P > > Not really an option for big VMs. It might add many minutes to boot time. Well a huge part of that can be done in the background so the boot doesn't really have to wait for all of it. If we really have to start playing whack-a-mole to plug all the potential ways to trigger reclaim imbalance I think it is fair to re-evaluate how much lazy should the initialization really be. -- Michal Hocko SUSE Labs