All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: Richard Kennedy <richard@rsk.demon.co.uk>
Cc: lkml <linux-kernel@vger.kernel.org>,
	linux-fsdevel <linux-fsdevel@vger.kernel.org>,
	Jan Kara <jack@suse.cz>
Subject: Re: [PATCH] fs: remove 8 bytes of padding from struct writeback_control on 64 bit builds
Date: Wed, 25 Apr 2012 21:57:34 +0800	[thread overview]
Message-ID: <20120425135734.GA4995@localhost> (raw)
In-Reply-To: <1335361985.1885.16.camel@castor.rsk>

On Wed, Apr 25, 2012 at 02:53:05PM +0100, Richard Kennedy wrote:
> Reorder structure writeback_control to remove 8 bytes of padding on 64
> bit builds, this shrinks its size from 48 to 40 bytes.
> 
> This structure is always on the stack and uses C99 named initialisation,
> so should be safe and have a small impact on stack usage.
>     
> Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
> 
> --
> 
> patch against v3.4-rc4
> compiled and tested on x86_64
> 
> I've been running my desktop with this patch applied for several days
> and have not seen any problems.
> regards
> Richard

Applied, thanks!

Fengguang

      reply	other threads:[~2012-04-25 13:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-25 13:53 [PATCH] fs: remove 8 bytes of padding from struct writeback_control on 64 bit builds Richard Kennedy
2012-04-25 13:57 ` Fengguang Wu [this message]

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=20120425135734.GA4995@localhost \
    --to=fengguang.wu@intel.com \
    --cc=jack@suse.cz \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=richard@rsk.demon.co.uk \
    /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.