All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hannes Reinecke <hare@kernel.org>
To: Christoph Hellwig <hch@lst.de>
Cc: Keith Busch <kbusch@kernel.org>, Sagi Grimberg <sagi@grimberg.me>,
	linux-nvme@lists.infradead.org, Hannes Reinecke <hare@suse.de>
Subject: [PATCH 0/2] nvme-auth: use SHASH_DESC_ON_STACK
Date: Wed,  7 May 2025 10:28:16 +0200	[thread overview]
Message-ID: <20250507082818.46157-1-hare@kernel.org> (raw)

From: Hannes Reinecke <hare@suse.de>

Hi all,

we should be using SHASH_DESC_ON_STACK in the
nvme authentication code to save some memory allocations.

Hannes Reinecke (2):
  nvme-auth: use SHASH_DESC_ON_STACK
  nvmet-auth: use SHASH_DESC_ON_STACK

 drivers/nvme/common/auth.c | 15 ++-------------
 drivers/nvme/target/auth.c | 12 ++----------
 2 files changed, 4 insertions(+), 23 deletions(-)

-- 
2.35.3



             reply	other threads:[~2025-05-07  9:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-07  8:28 Hannes Reinecke [this message]
2025-05-07  8:28 ` [PATCH 1/2] nvme-auth: use SHASH_DESC_ON_STACK Hannes Reinecke
2025-05-07  9:37   ` Damien Le Moal
2025-05-07  8:28 ` [PATCH 2/2] nvmet-auth: " Hannes Reinecke
2025-05-07  9:37   ` Damien Le Moal
2025-05-09  5:06 ` [PATCH 0/2] nvme-auth: " Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250507082818.46157-1-hare@kernel.org \
    --to=hare@kernel.org \
    --cc=hare@suse.de \
    --cc=hch@lst.de \
    --cc=kbusch@kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=sagi@grimberg.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.