mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* include/linux/nfs/nfsfh.h declares a symbol
@ 2003-10-01 12:18 Jörn Engel
  2003-10-13  4:43 ` Neil Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Jörn Engel @ 2003-10-01 12:18 UTC (permalink / raw)
  To: Neil Brown, nfs; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-13  9:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-01 12:18 include/linux/nfs/nfsfh.h declares a symbol Jörn Engel
2003-10-13  4:43 ` Neil Brown
2003-10-13  9:21   ` Jörn Engel

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®