From patchwork Mon Mar 3 08:47:10 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sridhar, Kanchana P" X-Patchwork-Id: 870242 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C5A5C18FC6B; Mon, 3 Mar 2025 08:47:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.14 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740991651; cv=none; b=AoI1vfg1LnA2tyS/ydCxp2NES8LH8zo4TcNAUQ0eO5rXE/BJ8/4yIhfdsB8caayYpFRhfToJNLxhPZave50LBZ9ryIJMGij+s7MgmEE1PkhUXhGqwKCUu/MldvANATidYGoCWi1iLSncEejhtb0jtGAWe2JFW9osfmf87dOiXrU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740991651; c=relaxed/simple; bh=Cy0Wn8n5jdJKV9aWxdo8hIiOZC0k2yqHJoT1pN81McQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=qWe3chkVasjDbCOcg4802Ev2/gvI2AnKeLA5DGA7hcEzkkInsP6yqkvHAtRgrE4ZxrWiFO8e1xi4AKScfsy4CRFdk5LACoG7wPE9ITxeCm7thgOQtClXusMYC2vgf6UIYBn/7A141XPVOKdtrA2X14KaqbJ6iDM09yo1R9nzeqA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Tl/0cEeU; arc=none smtp.client-ip=192.198.163.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Tl/0cEeU" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740991648; x=1772527648; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Cy0Wn8n5jdJKV9aWxdo8hIiOZC0k2yqHJoT1pN81McQ=; b=Tl/0cEeUzhE9kXipDRc6XN9RaUrmQ8OppbK0q8nKWt3+BmJkpG9f42Zo 5WMc/EntXh9RiGvwZlaFN3aoUULq3Qb+4TUPDDSEe0wPw9gnXfAU7gj4I Lg3P4FC6UIqRCLrM67eAtYH19AGHgrYAOYmAB3WD7YXA/IdlqNX1hGzj5 SrKI+QwRajG4WwTzQpP/z/Ri/TMXqRqlypZXAPFh2It5EVoajNdenZapX wcLwfxWvHr1NUYMsOumvJ2DpgbV/wjiCCrZkL0z0O1YJlGOwjl0qJAANH 713ajcASVD7a583a6w7xVLkqsj6nXJEzVGLLlu6Hrp0Ke4T0MPUx9SsIF g==; X-CSE-ConnectionGUID: uqdJcgl6Sz+FVZN0OnerXg== X-CSE-MsgGUID: VZcWdGEBTg+9efYGLfX7gQ== X-IronPort-AV: E=McAfee;i="6700,10204,11361"; a="42111840" X-IronPort-AV: E=Sophos;i="6.13,329,1732608000"; d="scan'208";a="42111840" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2025 00:47:25 -0800 X-CSE-ConnectionGUID: gTLAifLVTkCl7Cjx8PGL5A== X-CSE-MsgGUID: /ncNCLBUQRCpumWl4sImuA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.13,329,1732608000"; d="scan'208";a="118426754" Received: from jf5300-b11a338t.jf.intel.com ([10.242.51.115]) by fmviesa010.fm.intel.com with ESMTP; 03 Mar 2025 00:47:24 -0800 From: Kanchana P Sridhar To: linux-kernel@vger.kernel.org, linux-mm@kvack.org, hannes@cmpxchg.org, yosry.ahmed@linux.dev, nphamcs@gmail.com, chengming.zhou@linux.dev, usamaarif642@gmail.com, ryan.roberts@arm.com, 21cnbao@gmail.com, ying.huang@linux.alibaba.com, akpm@linux-foundation.org, linux-crypto@vger.kernel.org, herbert@gondor.apana.org.au, davem@davemloft.net, clabbe@baylibre.com, ardb@kernel.org, ebiggers@google.com, surenb@google.com, kristen.c.accardi@intel.com Cc: wajdi.k.feghali@intel.com, vinodh.gopal@intel.com, kanchana.p.sridhar@intel.com Subject: [PATCH v8 00/14] zswap IAA compress batching Date: Mon, 3 Mar 2025 00:47:10 -0800 Message-Id: <20250303084724.6490-1-kanchana.p.sridhar@intel.com> X-Mailer: git-send-email 2.27.0 Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 IAA Compression Batching with crypto_acomp Request Chaining: ============================================================ This patch-series introduces the use of the Intel Analytics Accelerator (IAA) for parallel batch compression of pages in large folios to improve zswap swapout latency. It does this by first creating a generic batching framework in crypto_acomp using request chaining, followed by invoking request chaining API to compress/decompress a batch in the iaa_crypto driver.