Re: [PATCH v2 0/4] Basic trusted keys support for TPM 2.0

From: Jarkko Sakkinen
Date: Tue Oct 13 2015 - 15:25:57 EST


On Tue, Oct 13, 2015 at 11:41:20AM -0600, Jason Gunthorpe wrote:
> On Tue, Oct 13, 2015 at 11:11:21AM +0300, Jarkko Sakkinen wrote:
>
> > * I updated tpm_buf to a be heap based structure. Now there's one full
> > page of memory for variable sized messages. Also the stack is greatly
> > reduced.
>
> You may as well just use a skb then.

struct sk_buff??

I think the structure that I've implemented is a good fit. It's simple
to use and does exactly what we need. Can you elaborate what's the
problem with tpm_buf?

> Jason

/Jarkko
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/