Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4339681pxv; Tue, 27 Jul 2021 05:09:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxENbk/O3TC1YX8a1tGt9VQOJ1dBNZyMIhq68O7gONSHjwlcMZSo0iTaf9E6hzF5RZwXWiP X-Received: by 2002:a05:6402:1d49:: with SMTP id dz9mr27094143edb.301.1627387742647; Tue, 27 Jul 2021 05:09:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627387742; cv=none; d=google.com; s=arc-20160816; b=Y7fVzAniAn8Ka1sKFw8Xp2TnUEeCE9HojFllA0QenKNVjM1FLOhe+UoTZlsGFMjX7o LXQIRC/HFZHogs+sDfAKXFR1k507MJdq/sf0aW4KS0CdAGhVvusXACLcW8UzjB9RPylU JJUb43p+IzExzx3BdEJnQAbPnjSze/oLlttRQWmOxfNAYCrq5iZmxCocJDxWW2iPkxWA z45QIjJqv5w52myWfAW3gu6RhfJcjeLX5mZrQ/MJWFuj7ezWxnjZLG+vM9EZ8DWLvuDd 8/9t6mv4csmYYV7Xw5ov0p1y7K1s4DCkQ3r4JpiM4Bsipl7AxYLRH7hfSFb3qlMZEkMP 7aVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=ie7vQGzl2l4KSgd436JCrW1T1Ll7ebLkvMuHz2j7e7E=; b=kS8vgjKn4yNQhQqbAeiZhkGJkoknxU++YFiX6/2WQR2CMMrmMqzCpylu9Oam02h8HG oo8JZ+nl7ZkV9v7QB7pGEvxRxTUsPBx69maYXMpTgL081ukXLYh9d6GvQyG7+ZQu/uUg qRaxuc6A1ikjPwUAuGoy+vqq+/SA/7je1X2J0WyRUXAfNK60gwbspqKXxp4YTikXLV1x DuF/jDMb4ZiIfebzFgAnSrB6bODuTPvzbGtidcs6CXivV+THir2ksK66R56oWk2dajV9 x11pXXGcQd01V0o3hkPXLvBnPR5wq4cbP6Bz0dPAyIeB+H2Aj1AMS3p01y7EHaWhdYpo ycZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nb18si2726574ejc.113.2021.07.27.05.08.32; Tue, 27 Jul 2021 05:09:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236243AbhG0MEP (ORCPT + 99 others); Tue, 27 Jul 2021 08:04:15 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:58922 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231868AbhG0MEO (ORCPT ); Tue, 27 Jul 2021 08:04:14 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id A88A81C0B76; Tue, 27 Jul 2021 14:04:13 +0200 (CEST) Date: Tue, 27 Jul 2021 14:04:13 +0200 From: Pavel Machek To: David Hildenbrand Cc: Michal Hocko , Evan Green , Andrew Morton , Alex Shi , Alistair Popple , Jens Axboe , Johannes Weiner , Joonsoo Kim , "Matthew Wilcox (Oracle)" , Miaohe Lin , Minchan Kim , Vlastimil Babka , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-api@vger.kernel.org Subject: Re: [PATCH v2] mm: Enable suspend-only swap spaces Message-ID: <20210727120413.GB32265@duo.ucw.cz> References: <20210709105012.v2.1.I09866d90c6de14f21223a03e9e6a31f8a02ecbaf@changeid> <30dddfb1-388c-a593-0987-73e821216da9@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QKdGvSO+nmPlgiQ/" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --QKdGvSO+nmPlgiQ/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > Let's take a look at hibernate() callers: >=20 > drivers/mfd/tps65010.c: calls hibernate() from IRQ contex, based on HW > event No it does not. Look again. > kernel/power/autosleep.c: calls hibernate() when it thinks it might be > a good time to go to sleep Ok, you are right, it is there. But I don't believe anyone uses this configuration. Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --QKdGvSO+nmPlgiQ/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYP/2PQAKCRAw5/Bqldv6 8t0DAKCr+H62AWwU7hlQPxiFE3r6Q/k46wCgqJGkAHYArzZ/clI1dsQrc9Vij0o= =6EnC -----END PGP SIGNATURE----- --QKdGvSO+nmPlgiQ/--