From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hugh Dickins Subject: Re: [PATCH 4/5] shmem: use call_once() Date: Mon, 10 Mar 2008 22:15:38 +0000 (GMT) Message-ID: References: <20080310145704.GA6396@APFDCB5C> <20080310150026.GA6407@APFDCB5C> <20080310150148.GB6407@APFDCB5C> <20080310150308.GC6407@APFDCB5C> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org To: Akinobu Mita Return-path: Received: from extu-mxob-2.symantec.com ([216.10.194.135]:44147 "EHLO extu-mxob-2.symantec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752453AbYCJWQy (ORCPT ); Mon, 10 Mar 2008 18:16:54 -0400 In-Reply-To: <20080310150308.GC6407@APFDCB5C> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, 11 Mar 2008, Akinobu Mita wrote: > This patch defers mounting tmpfs till shmem_file_setup() is > called first time by using call_once(). Please explain why we might need this patch: is something changing elsewhere? Or are you misled by that "module_init(init_tmpfs)" into thinking that mm/shmem.c is sometimes built modular? Hugh