Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4651750ybi; Mon, 3 Jun 2019 14:49:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqynmV3JjsRoyUwJubgKt7wDjE7XK19Ovexl2doH44ltKQVakFkwtsmHQ9yNX4uI2ETkSyCa X-Received: by 2002:a63:fd52:: with SMTP id m18mr31316515pgj.267.1559598568854; Mon, 03 Jun 2019 14:49:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559598568; cv=none; d=google.com; s=arc-20160816; b=cYqossy+uEcoQ8Y8td6s3HnV9i/041Ie3lELsak7ayNaL18iRoCoHhesjIpkAJzT2X SI2qL1oQ62fL7xXQrhrB8CCSRz5Gh7I32RBGSYCRtZkTrfTrMScHeNxeWhD4ZBAEtzDt 6Vv7FzVXtgGQEXG8VqsUpXjUr/Ve5I0wwesrDL9p4eeVeZUHUVzC78R3/3w/W8pJ/WsT 1sY5vvi6IcrnS78oY9r+e1QBIVDlc3TCw++ZelTU6XVLFdCNCSyNQxF5HE3vxgH6auOU oeQeisSROafqNOOn905pG5KQxzRYD1iF+vUYXm9++HmBd8AblzBvtQ4b97uoClsto6/u 5UDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=IQ/L0PI6ytr6tPOmoPFiuIoBcCxkskRfKrS5+y9f90w=; b=U+753zrlUA2HdogXWP/svAK6ZoiHQSofUB70HL5ZCnMJWpQ4v3LKSe+FvMG9UzXRJ+ 2XSgyq2P/DXf2/ZZjGPgIVuTY4u7ibPzB6NpDVXNCBaMEUDdZPYFp3+nD+dOUbF4ep5n Qubm0d13YJwAlps+ka1iJk/wUxkXobvrqOtVm36WlE+YMa8OdReNBgz12lxHP8koG5D8 ysbubXCcEUUuhay7RkQ6k57Pgt7jexICk/1KOP9/qNaNlP8vlbyunmr61DF+yF0mBa9i tQrolSjwQYDBlPWHURbvNKnhovIAxJ7j8/oXPgwZGhriwOHinIhWF5gaRtXzPjBnnu7y jTsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aHoSjDuY; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b132si23976209pfb.267.2019.06.03.14.49.14; Mon, 03 Jun 2019 14:49:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aHoSjDuY; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726238AbfFCVtN (ORCPT + 99 others); Mon, 3 Jun 2019 17:49:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:42264 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726076AbfFCVtN (ORCPT ); Mon, 3 Jun 2019 17:49:13 -0400 Received: from akpm3.svl.corp.google.com (unknown [104.133.8.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 07C4A23A48; Mon, 3 Jun 2019 21:49:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559598553; bh=roe7k85B1WBARYVkgdFOauIjF/htR4Atr22VzMKxNss=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=aHoSjDuYs+ZX4i6zuooI42FjZrBT6jsYBTiyfvLT8vIiE2+NJ4cpctPy3uJslHaoD DuOAqey1CzPQxtM6n7R7knkOHI2Tkhnh2bGu84jZ9Qjh9Br1aMTrU9/qB0sRq8fZ+B ZZBE8Z1SJPdqOtoBIHdsiJwu9Lv1ZaysBitSi/AU= Date: Mon, 3 Jun 2019 14:49:12 -0700 From: Andrew Morton To: Maninder Singh Cc: herbert@gondor.apana.org.au, davem@davemloft.net, keescook@chromium.org, gustavo@embeddedor.com, joe@perches.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, a.sahrawat@samsung.com, pankaj.m@samsung.com, v.narang@samsung.com Subject: Re: [PATCH 0/4] zstd: reduce stack usage Message-Id: <20190603144912.34e1414376e07c7b1af53205@linux-foundation.org> In-Reply-To: <1559552526-4317-1-git-send-email-maninder1.s@samsung.com> References: <1559552526-4317-1-git-send-email-maninder1.s@samsung.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, 3 Jun 2019 14:32:02 +0530 Maninder Singh wrote: > This patch set reduces stack usage for zstd code, because target like ARM has > limited 8KB kernel stack, which is getting overflowed due to hight stack usage > of zstd code with call flow like: That's rather bad behaviour. I assume the patchset actually fixes this? I think I'll schedule the patchset for 5.2-rcX so that zstd is actually usable on arm in 5.2. Does that sound OK?