From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B0AFF253351 for ; Thu, 11 Dec 2025 08:32:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765441946; cv=none; b=dg1OUXGeiNVmIBiFWS+2uxq/Qv/df/5Yggt6hXXHjugi+1rI8G1opkASGJJZkSVcrz/yujZGyzqUGR2dunjNpVEGZYZoBpHouiKMBiSIofdi8dG2F/Ure+y/Bx1CkAmhaOfn12AAlydoILOE5ybq4qZVChZXTbpcysoEf2in7vE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765441946; c=relaxed/simple; bh=ymI5tDqsMmwGSCnwzJ7GR86ciGp2QSoEiqODTf+TjvM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=W78jZKhgZPLUWpmUAOX1YTl2vZMkKVpL5bdxvAqZAgHotsUpa29VOICkHWaSHQyXiNbWG5FMuPMV3Q8MFCV7nEWrPh6qjMbl9/AHEtMis0X5iZpF8uKfMSgZSeWpexUuOkW/SiyvoyCgcavDuq4Aib+KtkE8UYVgo5Wa65KSHAo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AC7BB153B; Thu, 11 Dec 2025 00:32:16 -0800 (PST) Received: from [10.163.80.88] (unknown [10.163.80.88]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 80A7F3F73B; Thu, 11 Dec 2025 00:32:21 -0800 (PST) Message-ID: Date: Thu, 11 Dec 2025 14:02:18 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] mm: zswap: delete unused acomp->is_sleepable To: Johannes Weiner , Andrew Morton Cc: Yosry Ahmed , Nhat Pham , Chengming Zhou , linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20251211025645.820517-1-hannes@cmpxchg.org> Content-Language: en-US From: Anshuman Khandual In-Reply-To: <20251211025645.820517-1-hannes@cmpxchg.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 11/12/25 8:26 AM, Johannes Weiner wrote: > This hasn't been used since 7d4c9629b74f ("mm: zswap: use object > read/write APIs instead of object mapping APIs"). Drop it. > > Signed-off-by: Johannes Weiner > --- > mm/zswap.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/mm/zswap.c b/mm/zswap.c > index 5d0f8b13a958..84797ed4d3f5 100644 > --- a/mm/zswap.c > +++ b/mm/zswap.c > @@ -141,7 +141,6 @@ struct crypto_acomp_ctx { > struct crypto_wait wait; > u8 *buffer; > struct mutex mutex; > - bool is_sleepable; > }; > > /* > @@ -781,7 +780,6 @@ static int zswap_cpu_comp_prepare(unsigned int cpu, struct hlist_node *node) > > acomp_ctx->buffer = buffer; > acomp_ctx->acomp = acomp; > - acomp_ctx->is_sleepable = acomp_is_async(acomp); > acomp_ctx->req = req; > mutex_unlock(&acomp_ctx->mutex); > return 0; Reviewed-by: Anshuman Khandual