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 C1E19C05027 for ; Fri, 3 Feb 2023 19:20:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232489AbjBCTUI (ORCPT ); Fri, 3 Feb 2023 14:20:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232813AbjBCTTl (ORCPT ); Fri, 3 Feb 2023 14:19:41 -0500 Received: from out-78.mta1.migadu.com (out-78.mta1.migadu.com [IPv6:2001:41d0:203:375::4e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E063774A57 for ; Fri, 3 Feb 2023 11:19:39 -0800 (PST) Date: Fri, 3 Feb 2023 11:19:32 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1675451977; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JBM6UGsWSc/J+v73pZDrkX8oGGd9uvbvRutgj4g0VrU=; b=DCWeQAu8NfpO8qhLsTfLFhJ+J7jUlaMIrWlZ6kB/ZDrVTx+o3KY5ABEu2/giYvWnxD8hvG vZgj9rde9D3RjMBYR9cUSVlDI72LbrlYTtjC+Izg9jaDCkfBiauCBkEkTdsAjBX0rHa4AD q/AXyR4KuBP2dFpdEQCnlJVQs/2vP9c= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Roman Gushchin To: Yang Shi Cc: Johannes Weiner , Michal Hocko , Shakeel Butt , Tejun Heo , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, Christian Brauner Subject: Re: [RFC PATCH] mm: memcontrol: don't account swap failures not due to cgroup limits Message-ID: References: <20230202155626.1829121-1-hannes@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 03, 2023 at 11:07:30AM -0800, Yang Shi wrote: > On Fri, Feb 3, 2023 at 11:00 AM Roman Gushchin wrote: > > > > On Thu, Feb 02, 2023 at 10:56:26AM -0500, Johannes Weiner wrote: > > > Christian reports the following situation in a cgroup that doesn't > > > have memory.swap.max configured: > > > > > > $ cat memory.swap.events > > > high 0 > > > max 0 > > > fail 6218 > > > > > > Upon closer examination, this is an ARM64 machine that doesn't support > > > swapping out THPs. > > > > Do we expect it to be added any time soon or it's caused by some system > > limitations? > > AFAIK, it has been supported since 6.0. See commit d0637c505f8a1 Great, thank you for the link! Then it looks like we have even fewer reasons to change the interface. Thanks!