Messages in this thread | | | Date | Fri, 13 Sep 2013 08:23:54 +0200 | Subject | Re: Kernel size increase of +256 KiB (was: Re: RPCSEC_GSS: Share all credential caches on a per-transport basis) | From | Geert Uytterhoeven <> |
| |
On Thu, Sep 12, 2013 at 10:17 PM, Myklebust, Trond <Trond.Myklebust@netapp.com> wrote: >> Only for the modular case. What about builtin, e.g. for nfsroot? >> >> Or is it better to not build in NFS_V4 support in that case? >> >> config NFS_V4 >> If unsure, say Y. >> >> config NFSD_V4 >> If unsure, say N. >> >> So that's why my defconfig has NFS_V4 but not NFSD_V4. > > It should be possible now to compile in NFSv3 support (and/or NFSv2), > while keeping NFSv4 a module. That will usually result in > CONFIG_SUNRPC_GSS=m...
Indeed. Making NFS_V4 modular saves 102 KiB, i.e. 2.5% of a typical almost-4-MiB kernel image!
> Of course, if your defconfig doesn't have module support then, yes, your > only option to avoid compiling in rpcsec_gss is to not select NFSv4 at > all.
It has. But it needs everything to boot (block, net, nfs) as built-in.
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
| |