The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH][0/2] NFS: Calculate 'w' a bit later in *_encode_getaclres()
@ 2006-11-21 11:33 Jesper Juhl
  0 siblings, 0 replies; only message in thread
From: Jesper Juhl @ 2006-11-21 11:33 UTC (permalink / raw)
  To: LKML
  Cc: Andreas Gruenbacher, Neil Brown, nfs, David Rientjes,
	Andrew Morton, Jesper Juhl

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>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-21 11:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-21 11:33 [PATCH][0/2] NFS: Calculate 'w' a bit later in *_encode_getaclres() Jesper Juhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox