Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp987179imp; Wed, 20 Feb 2019 12:51:42 -0800 (PST) X-Google-Smtp-Source: AHgI3IZTH03lU4hk8m0TghOv51FQLKs9E1UoDPN51RBAdNzWvrWeddu/TqrxK9tCLGhhyS5K6xtq X-Received: by 2002:a17:902:6a4:: with SMTP id 33mr37919023plh.99.1550695901952; Wed, 20 Feb 2019 12:51:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550695901; cv=none; d=google.com; s=arc-20160816; b=EUvu3O/gBruKWll+Gkn5SZLeKk7lAMBxIDXyZBafymB11bjDkKS7/LAwEbOQWwnAgS sRlcK3qxEFw+DkJyodWFmbyNYq51uIvtBbsCvuW3pldPRaZEXo7UTM/qVzsSR34i+pZe BgLBTTt+X6e12KJtS0dHEy6sRe0she1WFmINSE86evMC6xYfJpIFljGCcc0EkLFGR6d9 VZDkWrCY3AyvxPGYU57MoTRnB8538HpQoTPjT7Mma/2RLkcsGtIzQyYuU0VWPphNK+wc t74XoePbCnfRQQVSgvwDwN+u2SvYcddqsRSUNxkDAhu5oZumEidvn07VEm4ay50hof9B MxFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=uOmdVKq3G+jkj6m8SOUJQ+10P8fsAqrrgWjBDaEhJfw=; b=Ukj6Qno7Yzgyibr5JHb5GLZXdUmbo4kXJkGU0fYEcY+6hMFGjSHYtNT1ODu9NcXCv+ Zgnm8w1QmyJqm9dMQHY6sf4a0ntSFkhv2syDRw6bRmbRfCCMX9nYgW6t3+d7gjSlptiZ 7X5u6EhRYgUnZbmcW6hhf6IsZwjnpqTqXWMiX2qKvTmtAY+V5bo0vno/rybn8SiwKdkV xeUrcdQALSkIEjTbktQkPOXWiPvEwZ1uT4lX+uWSroguJ4L7HarCw9wh7LQ/x7mjC/2L VUXczYfyfWXqMrhdWg879u1z2BpLSZnFxEEerybX86v4SVMwZpnSBs6mn9aIINwA8cPs c7Hw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s32si18680495pgk.401.2019.02.20.12.51.24; Wed, 20 Feb 2019 12:51:41 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726951AbfBTUuv (ORCPT + 99 others); Wed, 20 Feb 2019 15:50:51 -0500 Received: from namei.org ([65.99.196.166]:53332 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725869AbfBTUuv (ORCPT ); Wed, 20 Feb 2019 15:50:51 -0500 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id x1KKoV9w001602; Wed, 20 Feb 2019 20:50:31 GMT Date: Thu, 21 Feb 2019 07:50:31 +1100 (AEDT) From: James Morris To: David Howells cc: David Laight , Aaro Koskinen , "stable@vger.kernel.org" , Eric Biggers , "keyrings@vger.kernel.org" , "linux-security-module@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] KEYS: user: Align the payload buffer In-Reply-To: <16012.1550671795@warthog.procyon.org.uk> Message-ID: References: <6bf441ffc1a54d06ad27ed01c6d06a58@AcuMS.aculab.com> <155066953188.21038.12015964986007814182.stgit@warthog.procyon.org.uk> <16012.1550671795@warthog.procyon.org.uk> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 20 Feb 2019, David Howells wrote: > David Laight 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. Should this first one go into -rc? -- James Morris