The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Jesper Juhl <jesper.juhl@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Andreas Gruenbacher <agruen@suse.de>,
	Neil Brown <neilb@cse.unsw.edu.au>,
	nfs@lists.sourceforge.net,
	David Rientjes <rientjes@cs.washington.edu>,
	Andrew Morton <akpm@osdl.org>,
	Jesper Juhl <jesper.juhl@gmail.com>
Subject: [PATCH][0/2] NFS: Calculate 'w' a bit later in *_encode_getaclres()
Date: Tue, 21 Nov 2006 12:33:59 +0100	[thread overview]
Message-ID: <200611211234.00251.jesper.juhl@gmail.com> (raw)

Here are two patches that implement a tiny performance improvement for NFS.

The change made is to calculate the value of the 'w' variable a little 
later than is currently done. This way we don't waste time calculating 'w' 
in the cases where we return from the function before using the calculated 
value.  It also saves a few bytes of .text, which is always nice.

The last time around these got merged in -mm and subsequently dropped - 
according to akpm, they got dropped due to maintainer NACK, but my 
impression was that this change was OK.  So, this time around It would be 
great with an explicit ACK or NACK so akpm can add the patches or ignore 
them.

The two patches are send with the following subjects to the same recipients
as this mail:

  [PATCH][1/2] NFS2: Calculate 'w' a bit later in nfsaclsvc_encode_getaclres()
  [PATCH][2/2] NFS3: Calculate 'w' a bit later in nfs3svc_encode_getaclres()


Kind regards,

  Jesper Juhl <jesper.juhl@gmail.com>


                 reply	other threads:[~2006-11-21 11:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200611211234.00251.jesper.juhl@gmail.com \
    --to=jesper.juhl@gmail.com \
    --cc=agruen@suse.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@cse.unsw.edu.au \
    --cc=nfs@lists.sourceforge.net \
    --cc=rientjes@cs.washington.edu \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox