[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <16293.1493890025@warthog.procyon.org.uk>
Date: Thu, 04 May 2017 10:27:05 +0100
From: David Howells <dhowells@...hat.com>
To: Joe Perches <joe@...ches.com>
Cc: dhowells@...hat.com, Jeff Layton <jlayton@...chiereds.net>,
viro@...iv.linux.org.uk, linux-fsdevel@...r.kernel.org,
linux-nfs@...r.kernel.org, linux-kernel@...r.kernel.org,
mszeredi@...hat.com
Subject: Re: [PATCH 3/9] VFS: Introduce a mount context
Joe Perches <joe@...ches.com> wrote:
> krealloc would probably be more efficient and possible
> readable as likely there's already padding in the original
> allocation.
Given there's a maximum of 3 slots, I think it makes better sense to just
allocate them all up front.
David
Powered by blists - more mailing lists