[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZoI1P1KQzQVVUzny@infradead.org>
Date: Sun, 30 Jun 2024 21:49:03 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Dave Chinner <david@...morbit.com>
Cc: alexjlzheng@...il.com, chandan.babu@...cle.com, djwong@...nel.org,
hch@...radead.org, linux-kernel@...r.kernel.org,
linux-xfs@...r.kernel.org, alexjlzheng@...cent.com
Subject: Re: [PATCH v3 2/2] xfs: make xfs_log_iovec independent from
xfs_log_vec and free it early
On Mon, Jul 01, 2024 at 10:51:13AM +1000, Dave Chinner wrote:
> Here's the logic - the iovec array is largely "free" with the larger
> data allocation.
What the patch does it to free the data allocation, that is the shadow
buffer earlier. Which would safe a quite a bit of memory indeed ... if
we didn't expect the shadow buffer to be needed again a little later
anyway, which AFAIK is the assumption under which the CIL code operates.
So as asked previously and by you again here I'd love to see numbers
for workloads where this actually is a benefit.
Powered by blists - more mailing lists