[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070627201035.dbbb84e7.akpm@linux-foundation.org>
Date: Wed, 27 Jun 2007 20:10:35 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: "J. Bruce Fields" <bfields@...ldses.org>
Cc: NeilBrown <neilb@...e.de>, nfs@...ts.sourceforge.net,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 007 of 8] knfsd: nfsd4: vary maximum delegation limit
based on RAM size
On Wed, 27 Jun 2007 22:57:39 -0400 "J. Bruce Fields" <bfields@...ldses.org> wrote:
> On Wed, Jun 27, 2007 at 07:36:13PM -0700, Andrew Morton wrote:
> > How's this?
>
> Makes sense to me, thanks. I guess fs/nsfd/nfssvc:nfsd_create_serv()
> should be similarly modified? It calculates the size of per-nfsd-thread
> buffers used to hold requests, which will eventually be allocated with
> an alloc_page(GFP_KERNEL), and it bases the calculation on the same
> .totalram field from struct sysinfo.
Yup, it'd be better to use nr_free_buffer_pages() there too.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists