Re: [PATCH] nfsd: more robust allocation failure handling in nfsd_reply_cache_init

From: Bruce Fields
Date: Thu Oct 20 2016 - 11:52:37 EST


On Tue, Aug 30, 2016 at 11:23:36AM -0700, Linus Torvalds wrote:
> On Tue, Aug 30, 2016 at 4:48 AM, Jeff Layton <jlayton@xxxxxxxxxx> wrote:
> >
> > While this would be good to get in, I don't see any particular urgency
> > here. This seems like it'd be reasonable for v4.9.
>
> Agreed, looks ok to me. It certainly does not look like a new
> regression or like a serious problem issue in practice. So 4.9 sounds
> appropriate.

Gah, Jeff points out I forgot to merge this.

Jeff was also wondering whether we could instead just allocate this with
vmalloc--is there any drawback? We only allocate this on nfsd startup,
so if the only drawback is the allocation itself being expensive then
that's no big deal.

--b.