Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp142841imm; Thu, 20 Sep 2018 20:21:51 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZglObop9xxgZCSlwyXFidgG3XkxfunQEO3a6Mn5qsw3cS/axaX1edy0+hy97gNF7EFundp X-Received: by 2002:a17:902:748b:: with SMTP id h11-v6mr42428871pll.192.1537500111378; Thu, 20 Sep 2018 20:21:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537500111; cv=none; d=google.com; s=arc-20160816; b=fNkgYWP8jguAMzD+1twMKO3QHw6n4UQRzuGWLZ7pupMYyARZbexmCLBI8DQPy6zLcu Ylic0Zb23kM7c6L3m7TklpERh/oagI1Vc2+C8QjGv1hduPV03ercrZshbySIJybBxrwi 9WmO+uixBkyCkednQ3sXBMpY4VMI5bxe1WK26IQhJI35pVMpiJF/pzHlc8vmsPrJHxAc zab8QlLLXqRWW2ZiClyC0ufIeMYT2N99g6pUjoYcfvV4SRs/kghduSxB7mvqpHNXfrlJ mj0zCL7lxIoUB3L4/bG/1QRsLW0R+sJls7MnTEkuF68JRxRYyYw3vVS/epV/pMkXn8my 8Esg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=y7icSL5r33cqTwC1H0GQIjD1FOP+z+aQLwqAqF63OHY=; b=w3lDzJ58bMbF8Lhp+YffC/ULgBijYmYTtPm0yxx3v8A4Aq0blxMHJO2Ctl7Jct2mJF A/2grxJIKUKYpszJyI06r+fWQgTkn+MntOrO3QK3k5OlWcpZpKGzkSN3a2COpNksouXe 2phCZwQtElFveL1GD9Ck7R2yy6xK//NJ7Ux7lwPsUYfLmwf5HjJGkqcQrWat1xlY3pZI 1vAakCw44g1eu4WH1kfjC0nOGiDHtjPvTEBRbEVkry97JOQ+rn49yOk9cJTQR5A9BUMu 710z89d5d57TJMF5UqHJqoahfsUVwIQhjcQsQ2YMhPIUhIzYy3fkLTkgiLcK6Z+V2Vot agqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=We8XySgK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 91-v6si29836201ple.169.2018.09.20.20.21.35; Thu, 20 Sep 2018 20:21:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@zx2c4.com header.s=mail header.b=We8XySgK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389033AbeIUJIP (ORCPT + 99 others); Fri, 21 Sep 2018 05:08:15 -0400 Received: from frisell.zx2c4.com ([192.95.5.64]:45751 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725892AbeIUJIO (ORCPT ); Fri, 21 Sep 2018 05:08:14 -0400 Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id d6414b89; Fri, 21 Sep 2018 03:03:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type; s=mail; bh=qdBZm+bCMXbqziUyqMAN82K9JXU=; b=We8XyS gKQsKJkfNwAdgVm2wsJlboESXdrjvxmmpL19RZnWTSOdubJd7bigD/z2Q64YitkO 0aBMT6S2qlhHJ0Jbkf9gSqVggt8/GS9elCRDTqhRQH4AREYzPSylqu068gKx0VeL xTgmdBxB9GnrMTGWo5EnQyC7i2N3cbUvuaoz9OySLcnm1AFa0WlHWr05T6SM2mdF gD8fVXgk6iFRfM9yUyTCIrReY9VunAu6Nvtp+iEMn0QjlclBqMgz9eXB8hFc0qnI PZeNWCUwl4pbFNFNQgrf4tkyJHitdjOIVNMj/oZnppNTTs5yO2KcBHWTd0YiiCaI 93rEChnNX2G+ZXEg== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 4c14d2ab (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO); Fri, 21 Sep 2018 03:03:33 +0000 (UTC) Received: by mail-ot1-x333.google.com with SMTP id j9-v6so11657737otl.2; Thu, 20 Sep 2018 20:21:26 -0700 (PDT) X-Gm-Message-State: APzg51CgJZpau8iP9YvfzjKZA1FezmrDuVv+6MmOnRfnDEwI/QVxBpci yMpVxCdFVrUOge+uIBfl0Kjx9bEsIDWISdENxFA= X-Received: by 2002:a9d:6554:: with SMTP id q20-v6mr24751122otl.209.1537499783441; Thu, 20 Sep 2018 20:16:23 -0700 (PDT) MIME-Version: 1.0 References: <20180918161646.19105-1-Jason@zx2c4.com> <20180918161646.19105-3-Jason@zx2c4.com> <20180921031255.GB11109@lunn.ch> In-Reply-To: <20180921031255.GB11109@lunn.ch> From: "Jason A. Donenfeld" Date: Fri, 21 Sep 2018 05:16:11 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH net-next v5 02/20] zinc: introduce minimal cryptography library To: Andrew Lunn Cc: Arnd Bergmann , Ard Biesheuvel , Eric Biggers , LKML , Netdev , Linux Crypto Mailing List , David Miller , Greg Kroah-Hartman , Samuel Neves , Andrew Lutomirski , Jean-Philippe Aumasson Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrew, On Fri, Sep 21, 2018 at 5:13 AM Andrew Lunn wrote: > Do you any stack usage information? > > A VPN can be at the bottom of some deep stack calls. Swap on NFS over > the VPN? If you have one frame of 1K, you might be O.K. But if you > have a few of these, i can see there might be issues of overflowing > the stack. It's pretty small, and most of the work is punted onto workqueues pretty early, so the depth isn't as much of an issue as it would be if I did everything from ndo_start_xmit. I've done some stack tracking using the debug option for that, and it's generally far from the deepest thing running. Jason