Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2437511rdb; Wed, 21 Feb 2024 07:40:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX6JPfx5309egwJ/6vEqNUXM60Jgpkyiq6w323qvIQavqzRlQu47xESxUXjZuZ3kcWp63KFlwlKDeDl0MbhmCB3/zdxLBZW6gNWHWQF5w== X-Google-Smtp-Source: AGHT+IEiwaKG1wicSgP9htZ47ViqHtgexwWKcknfSVMTsWKMeU91Wjc9MVasnJ8BXmCvOU6QsgiW X-Received: by 2002:a0c:e38d:0:b0:68f:7891:ef39 with SMTP id a13-20020a0ce38d000000b0068f7891ef39mr6813353qvl.51.1708530053727; Wed, 21 Feb 2024 07:40:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708530053; cv=pass; d=google.com; s=arc-20160816; b=iId85aVKGH465es2EVwOIDRl53KDHYT+3S/H3Miu4MDpq2UZNg8VG0BqD//xU7Q+VU 5b8W+9oEBMip8rEG33w9URJDs9giOCIrXvtunOT//Xe7HPf144duudrhJZBQCrPC0E25 SZKgbbFE7XNYyrNn4fa3lUj8rJwPSfhFWhc4R15CzJyVqaduSuWIafACGTRN3ioUuIFQ tNMntZX/X6uJpbN1MvQ2owM/YWsxDFm5VTFwiVRguFCxwb18Z4KawaQrd0NByr0X/dvp iCr8ckKuMvqWVldMfYLF87EVeGtP3HS7AHU0BMB0/0tF95eV+nGZLZ/YA5OxVI8OtA5w /phA== 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=TJNXkizSShMtvcWSPYmsDvAjzar6qre/w0cVQV2Otns=; fh=dkYs/2uvEQ/NU4PD6tq+Ff9xUMc2yXiq9N//GzR81Nk=; b=Y3NYLgAzY8gnVnu7zbo4C4pu4sgmBnAg0RRKDZHtAhcImYEgps8nayLBW0s+CuBRfz VFrs0Xcm/2/WvD1YtVtl8tYsKojRAP/eWlivAMVyrdYKkm/EZnOBasKv/W3ICIWW6ZZp qK8UuPIlj9dDreu+fnIBK61L+CeQjePV/PnKVkxgAVuNBVpxIeB7PvWyBwWVg/HiAQlH fnUXLJbafXOWGg5bNA9/jdRfzpMg+E4E+OVi8JCNOpW03TlvP+RSiiudV9mWnHPAAYMm qsLCKDv89Qs3nEdskR7fTQcGSGyzTmXnnlDuR87TYQLwJogWw5XwZZgIKEWc9Cho811q gfCg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=cZNKAyuP; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-75014-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75014-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c1-20020ad45ae1000000b0068ce3d18f9csi11619527qvh.344.2024.02.21.07.40.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 07:40:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75014-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=cZNKAyuP; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-75014-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75014-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org 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 1515D1C243E3 for ; Wed, 21 Feb 2024 15:40:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1351680BED; Wed, 21 Feb 2024 15:40:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="cZNKAyuP" Received: from mail-oo1-f49.google.com (mail-oo1-f49.google.com [209.85.161.49]) (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 CD7E18004F for ; Wed, 21 Feb 2024 15:40:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708530044; cv=none; b=ZxiOmcJbyT/tQAnaO14skwCVa6swRsGkTvNNizbU9A4pgpA70tW31m1a/6EBCrScLlJ8Jj4RhSGyyRZENKbfKf17Tp0S6JVTi4wGosDBs5dIvUr5HZAZR0vGqR7JpYRKK/XqNWAMfWgTPHjKCAxeWXtLUCPKp1goztka+AwHLdA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708530044; c=relaxed/simple; bh=TJNXkizSShMtvcWSPYmsDvAjzar6qre/w0cVQV2Otns=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=O93DnKG0i0VNSwqt7FJF7qso95Ij679mL+5zfB3yxDpezVeHQafpOY4WZyFznLsOiqrTtMVvEv8kjz/loAN7pIHo60Hw/o+vG2sInOcYlSBSN5kd03GII+IBDuSEEM3efEZPSOGfYeyuhZ/GJ1SQRoTMD2SNeXqQK2bwehr+IzU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=cZNKAyuP; arc=none smtp.client-ip=209.85.161.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-oo1-f49.google.com with SMTP id 006d021491bc7-59a31c14100so2431644eaf.0 for ; Wed, 21 Feb 2024 07:40:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1708530042; x=1709134842; 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=TJNXkizSShMtvcWSPYmsDvAjzar6qre/w0cVQV2Otns=; b=cZNKAyuPFyJSHfGipdk/coNi3hyJbysX4WwZIQGRIKoIj6O0gnV4iBFJz8/SgiYX2q kssb8mCkh1Jk4Y67OSHshnSgrZq4KmNZQ9uCq0AKuA+UNgftX0+J4zx/R6wFniwk9w13 lHGG2VO9VFwuiqIOOLsntY6EtinYbF8mkvBaY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708530042; x=1709134842; 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=TJNXkizSShMtvcWSPYmsDvAjzar6qre/w0cVQV2Otns=; b=tyEsrorJaAlIMSguGsaHCL2B5pfT8Z8dzwgveTJW0YKw6FFbHQITZx2L2z/evpEfMv Ks+uyfroJImHX4jnuFLi7JcAQtOkWUGhFENxTyHiUfuSbpL0HqPd2Aawe0TCiGHKY4WD jPPwBd1fS/nQ3NPOwpYcdoUBlpm8HcBDOShMAnl8gVTkZeAdrYh2fUWQon0mqZJmEVqf 3hVyBAaHfGgaEeqI9O0pvQSTqqChQad8wI8XXrrAUpSEuleLz0iSzXYUcOwtDdj4yg4c q6JVAhLjVJtOGovfGx1dkup/3n9OLU+asRv83Y+StK4C74oASheKzJ7km5tCkg6wOhDD JTzQ== X-Forwarded-Encrypted: i=1; AJvYcCV2G8Tr/RitRy9wHHenC4a8PSSUjv8SaYt+IyUILh8qOwW5+KSJSHTxrI+nRkJrqAGwMPdnojjOihJ1GWTk7RgLcPyAjm03cqzj/xLl X-Gm-Message-State: AOJu0Yw8/7tVMmsOslotJun7tCVbpFzROnuQL14MXxlrsvm42bGMe0U2 0ALNmdoJs9Wrzuu8sH3W2AMKS7oD34uQeOuY3oX31lfpYYs4+VrNkzXBcy/onOXP7aVNCYXwwxd g6ZiVbchihbIirG6s88JQgmUXDMRgUI0OalVg X-Received: by 2002:a4a:ea33:0:b0:59f:fe70:3281 with SMTP id y19-20020a4aea33000000b0059ffe703281mr5776435ood.5.1708530042119; Wed, 21 Feb 2024 07:40:42 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240214170720.v1.1.Ic3de2566a7fd3de8501b2f18afa9f94eadb2df0a@changeid> <87jzn0ofdb.wl-tiwai@suse.de> <235ab5aa-90a4-4dd7-b2c6-70469605bcfb@suse.cz> In-Reply-To: From: Sven van Ashbrook Date: Wed, 21 Feb 2024 10:40:31 -0500 Message-ID: Subject: Re: Stall at page allocations with __GFP_RETRY_MAYFAIL (Re: [PATCH v1] ALSA: memalloc: Fix indefinite hang in non-iommu case) To: Vlastimil Babka Cc: Takashi Iwai , Karthikeyan Ramasubramanian , LKML , Brian Geffon , stable@vger.kernel.org, Curtis Malainey , Jaroslav Kysela , Takashi Iwai , linux-sound@vger.kernel.org, linux-mm@kvack.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Feb 21, 2024 at 4:58=E2=80=AFAM Vlastimil Babka wr= ote: > > Thanks a lot, seems this can indeed happen even in 6.8-rc5. We're > mishandling the case where compaction is skipped due to lack of __GFP_IO, > which is indeed cleared in suspend/resume. I'll create a fix. I'm really grateful for the engagement here !! > Please don't > hesitate to report such issues the next time, even if not fully debugged = :) > Will do :)