Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp3184355rdb; Thu, 16 Nov 2023 02:36:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IGCbY7U8fMafIL7lQf5TxRjO5Q6fjbns3SAx/Wtfq6TZvFbxEmnGYS9yhgLHvokE96RRSSN X-Received: by 2002:a05:6a20:4406:b0:187:4ee0:e958 with SMTP id ce6-20020a056a20440600b001874ee0e958mr2256675pzb.8.1700130982912; Thu, 16 Nov 2023 02:36:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700130982; cv=none; d=google.com; s=arc-20160816; b=vdQ36vZH6IPx9g5nFCCm5Vggg9DpVm+qD4RW4NFzM2gUspBbYAuEL9bI2zjM6FFnNZ TMQumMPKpZJHRb/lNrw+TJZ1mqWXQDIsVJDj71d8eJ7an3hZFAa4LHCH94zL5Mzs2zV+ /sVxOpC1XIDygEtAvPlkv/ujgkuVgkmHElfGHvsaRsFTWyWsjnEihoUuQ3/HSb0rvoDo yR047Df/zmZNGaMSgV++w5zkUQ8kTruHlTPGgwotxDeiFRFfqEFyPTiZZiFM1i8KEPpS elMTQYFcojAL8fIe9c0ZKP5LR49VtWNRxX2+4bHDkB4NAyd9bw6Ygw3X389xupQhbLpb rdZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=wnBSrgqOtUFJ68G1VtwZiej43nPaE3HHJPkSErJV3vI=; fh=/ovL0bkE0srYNUSIsCkXupcQmfBwWMZTUFiiIbXNhiE=; b=cUyLZx95zBy0iRGPmYsRfpOMXPh4ckrHJbugjD4L4I2yU5+nrQordxg0zbrKaSED8Z 2Yv37Rbgq7m39+YVo8VoMdxmTlZJnlqe3Jx3vuxLjTU4qwzSEwTtP87IvqYj1gHEk1SO ByMc3R1/HkRYdNkW83I/ZxF0C7/IBmxjIL+loWTGwuYNE+uaMbRUxTHhAucGUpsLEWrq yuJ9K/wZx57MSd2IGBdOYeqlmUE8mULsEOYOccBG+2y+rW6JMS+SYAl+RuAeerIBSJ/a RG2WiJIrvTjqhDCp9u9RzhEgXRw+5GGisoCwixA3wVmby/2ntAU58y3tVF5piEFZZrsD JM9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=SEEEnbTN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id y65-20020a638a44000000b005b8dde7e12dsi11916535pgd.98.2023.11.16.02.36.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 02:36:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=SEEEnbTN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 833458142DB2; Thu, 16 Nov 2023 02:36:20 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345041AbjKPKfp (ORCPT + 99 others); Thu, 16 Nov 2023 05:35:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345029AbjKPKfj (ORCPT ); Thu, 16 Nov 2023 05:35:39 -0500 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7139811D for ; Thu, 16 Nov 2023 02:35:10 -0800 (PST) Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2c595f5dc84so19505251fa.0 for ; Thu, 16 Nov 2023 02:35:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1700130909; x=1700735709; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=wnBSrgqOtUFJ68G1VtwZiej43nPaE3HHJPkSErJV3vI=; b=SEEEnbTNn5maPkOjZkKvC3dp+TS3pwikWoerZcrJIQxHnBBDRI61myuzSi3I0xMEgq QC/7LK7dr9GVd2cfaRJnDdunQybZlmZt5Us+bRvnDgK44DkabmN68NnXrop6qyrqmqyM Mcq03bu8PQTpyqId24VFanlUzZ1QLQKk9cB7IWCxTOPHRMeQzTvPu87seBgYVgSFlzoC RpIqBRU4z4rhPn3FJKNw1aUo0ETJtlmTTAJAXba2mOq0hK48Qvmb6vbFHvGu/MMm4K0K SH/PJUOUMIeU61b1brU86p4nC8jjjJWfvdCt/um6I2O2/hTT96D725ttBcbzD42e0ciw o+5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700130909; x=1700735709; h=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=wnBSrgqOtUFJ68G1VtwZiej43nPaE3HHJPkSErJV3vI=; b=oEu1uUr1HpMPS8gPXnbFGYGv8pHgezq7GKd2Z5Kii8kn1yaqEgaLZliPwX+uFyZYDH XFVMl/LnxlkCszW8MjyC6gsz4tD9HR7sHiPwjZygS2z1WjHZFWR6rX2wQH8RCdMhoV5f xfa5B3CGzaUGLcgz9sBSTj+gkGvEgy2Y1RgtMIEq8eXR+lqT9meguQeZniQNxl98pEh2 wDfGdiBYpf7y2VOTGj5fVot8jIcMR8N3WdUYp2EssN7qD6jWv93VBM8hhPO9HlaWZLvJ 8I6D7HbW1Oh9suVCCIWqww48sXoMFnT1qeXxFOVTYx5j7D4pIeKjEADtUilcZ2m12mxG IQHA== X-Gm-Message-State: AOJu0YyFaOlo0I1zO1xKIaQArNQTQCbkJKfMyqWN4idDOCtLNLOJLaP+ 9UunGuqT7cGByCILSS8RTvFOi7eG5C+YsC2/ufXvwg== X-Received: by 2002:a2e:a417:0:b0:2c6:ec37:fb5 with SMTP id p23-20020a2ea417000000b002c6ec370fb5mr595336ljn.10.1700130908682; Thu, 16 Nov 2023 02:35:08 -0800 (PST) MIME-Version: 1.0 References: <20231113130601.3350915-1-hezhongkun.hzk@bytedance.com> <87bkbudrqq.fsf@yhuang6-desk2.ccr.corp.intel.com> In-Reply-To: <87bkbudrqq.fsf@yhuang6-desk2.ccr.corp.intel.com> From: =?UTF-8?B?6LS65Lit5Z2k?= Date: Thu, 16 Nov 2023 18:34:57 +0800 Message-ID: Subject: Re: [External] Re: [PATCH] mm:zswap: fix zswap entry reclamation failure in two scenarios To: "Huang, Ying" Cc: Yosry Ahmed , akpm@linux-foundation.org, hannes@cmpxchg.org, nphamcs@gmail.com, sjenning@redhat.com, ddstreet@ieee.org, vitaly.wool@konsulko.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 16 Nov 2023 02:36:20 -0800 (PST) > > This sounds reasonable for me. Just don't forget to change other > swap_range_free() callers too. Got it, thanks. > > -- > Best Regards, > Huang, Ying