Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754878Ab3IMGX7 (ORCPT ); Fri, 13 Sep 2013 02:23:59 -0400 Received: from mail-pd0-f176.google.com ([209.85.192.176]:61746 "EHLO mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751467Ab3IMGXz (ORCPT ); Fri, 13 Sep 2013 02:23:55 -0400 MIME-Version: 1.0 In-Reply-To: <1379017042.2627.3.camel@leira.trondhjem.org> References: <1378995227.3117.9.camel@leira.trondhjem.org> <1379017042.2627.3.camel@leira.trondhjem.org> Date: Fri, 13 Sep 2013 08:23:54 +0200 X-Google-Sender-Auth: izdoBxJyP2BaXwC4drp3odQo6f0 Message-ID: Subject: Re: Kernel size increase of +256 KiB (was: Re: RPCSEC_GSS: Share all credential caches on a per-transport basis) From: Geert Uytterhoeven To: "Myklebust, Trond" Cc: "Linux/m68k" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1457 Lines: 42 On Thu, Sep 12, 2013 at 10:17 PM, Myklebust, Trond 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/