[PATCH] KEYS: user: Align the payload buffer

David Howells dhowells at redhat.com
Wed Feb 20 14:09:55 UTC 2019


David Laight <David.Laight at ACULAB.COM> wrote:

> I'd make the 'datalen' field 'unsigned int' at the same time.
> It will use some of the hole you've made and generate better
> code on most arches.

Most arches?  I though most, if not all, arches had a load-word instruction.

Do you want to send me a patch for that?  I'd rather not alter this patch at
this point.  I can pass the additional patch to James for the next merge
window.

David



More information about the Linux-security-module-archive mailing list