mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: Neil Brown <neilb@cse.unsw.edu.au>, nfs@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
Subject: include/linux/nfs/nfsfh.h declares a symbol
Date: Wed, 1 Oct 2003 14:18:11 +0200	[thread overview]
Message-ID: <20031001121811.GE31698@wohnheim.fh-wedel.de> (raw)

Neil, the function SVCFH_fmt uses a static variable to sprintf into.
Looks like this variable is declared locally for every .c file
including nfsfh.h, which is quite a few.

You could remove the static, but that would increase the stack usage,
which might be a problem too.  The buffer could be reduced to 64
chars, to reduce that problem.  kmalloc()ing it seems a bit expensive,
but might be an option, too.

Thanks!

Jörn

-- 
This above all: to thine own self be true.
-- Shakespeare

             reply	other threads:[~2003-10-01 12:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-01 12:18 Jörn Engel [this message]
2003-10-13  4:43 ` Neil Brown
2003-10-13  9:21   ` Jörn Engel

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=20031001121811.GE31698@wohnheim.fh-wedel.de \
    --to=joern@wohnheim.fh-wedel.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@cse.unsw.edu.au \
    --cc=nfs@lists.sourceforge.net \
    /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

all inboxes | Powered by JetHome®