From patchwork Fri May 1 15:14:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Domenico Andreoli X-Patchwork-Id: 212162 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B2853C4724C for ; Fri, 1 May 2020 15:24:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 81A6820708 for ; Fri, 1 May 2020 15:24:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BEaU3Rp4" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728735AbgEAPYr (ORCPT ); Fri, 1 May 2020 11:24:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728443AbgEAPYq (ORCPT ); Fri, 1 May 2020 11:24:46 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A2C6C061A0C for ; Fri, 1 May 2020 08:24:46 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id u16so47017wmc.5 for ; Fri, 01 May 2020 08:24:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:resent-from:resent-date:resent-message-id:resent-to :message-id:user-agent:date:from:to:cc:subject; bh=Zwbt4lmFAPn3PFdvyE+31G241RlC55gcnYxc2tQwA7g=; b=BEaU3Rp47tIf7mSF3VunOCEJ5IcI5dACF3g79kBFBMVVluXwc6mwozv6SJSwZNU8oR XEdNEwMmsKQV8kY9E0NpS4lu1hdDjYlOysTGZOkWK+UkuJLz33OLniuk8DZ7uZU2yi3C HGdO7zAxL0pNHK0gbavW6+IkdrfeCSQH/jCz6hYCy1+oAAOBuf830qwD71DZlKA2vP8P VBonWNGd4l8zJdjUMMx0IHJOFYIJd/TgfWipHyNDxJ1DpljHlppVK9W4FmOYPBySGv5u 5XbBxzUrtDjPWDIij7COschW9iD/yYjelmslOk9bc2Y/9n/WYiwRxN+cIH+09HMunbfy 6EDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:resent-from:resent-date:resent-message-id :resent-to:message-id:user-agent:date:from:to:cc:subject; bh=Zwbt4lmFAPn3PFdvyE+31G241RlC55gcnYxc2tQwA7g=; b=eM6GHwGDiMGjZLWveHetVWbUyIDdV3YV+sePTb7u/bpsDcnftK9EXOBt8rAGfZGyXu OMiSNrpAdTxXzVqpbncjvMLrelbYvtgQNXvOzrEaHbHDp8KVHtT4YGE4zuzmhyadVt64 j0YAb22D3wu7OxRdLzWdH7knbHaYOGtpBLqjHtSPyi4AgExJmUUhQOZuXWfldpi2LAQT 8dFu+vwNPDOS3D6fRYRUtnC+drafGNmqEh3U99NoJRJJoRNLpUTIaMVYRuWi3wFPSrPe LOnln3pJdtdq2Tes8l3VuTCrEqwe1qfIqb2UGjZR6Jp1ClWDEOBow4hO6dJni8y9DPCf HXRQ== X-Gm-Message-State: AGi0PuYlGt87fGv4tLSpUKIW1e2SVtEYdMJuu7V3hRSRbJT+rGYZ8a0S QMTM++nSFpDez0BYw7Co0dQ= X-Google-Smtp-Source: APiQypL+udRjogTIT+AYSAf0Dfc2V+BjyII3LEL0Fb8l8Hxd9nMQcoq/EJO1NGqVXI4oeMTGsLGeFg== X-Received: by 2002:a1c:7212:: with SMTP id n18mr72623wmc.53.1588346683484; Fri, 01 May 2020 08:24:43 -0700 (PDT) Received: from dumbo ([2a0b:f4c2::1]) by smtp.gmail.com with ESMTPSA id n131sm49117wmf.35.2020.05.01.08.24.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 May 2020 08:24:42 -0700 (PDT) Received: from cavok by dumbo with local (Exim 4.92) (envelope-from ) id 1jUXWq-0006YI-Vb; Fri, 01 May 2020 17:24:40 +0200 Message-Id: <20200501151452.621900831@gmail.com> User-Agent: quilt/0.65 Date: Fri, 01 May 2020 17:14:52 +0200 From: Domenico Andreoli To: "Rafael J. Wysocki" , Pavel Machek Cc: Linux PM Subject: [PATCH v2 0/2] hibernate: add config option for snapshot device Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Dear maintainers, These are the improvements over v1 [0]: - move the mutual exclusion to hibernate.c (it was in user.c) - switched to refcount_t API (it was atomic_t) - the option is enabled by default (it was disabled by default) - remove the premature "DEPRECATED" marking - drop the redefinition of mutual exclusion helpers (in v2 they are owned by hibernte.c) in case the option is deselected - add the help message to the config option Kind regards, Domenico [0] https://lore.kernel.org/linux-pm/20200413190843.044112674@gmail.com/