[Ocfs2-devel] [PATCH] Reoganize data elements to reduce memory footprint
Goldwyn Rodrigues
rgoldwyn at gmail.com
Wed Jun 9 21:07:26 PDT 2010
Hi Joel,
On Wed, Jun 9, 2010 at 7:54 PM, Joel Becker <Joel.Becker at oracle.com> wrote:
>
> On the subject of extreme structure diets... ocfs2_lock_res
> uses ints for l_ro_holders and l_ex_holders. Do we ever have more than
> 64K holders? Can we squash those into u16s? I note that our code
> doesn't handle overflow at all, but 2^32 holders is significantly
> larger.
Good idea.
> Goldwyn, did you test this with CONFIG_OCFS2_FS_STATS and
> CONFIG_DEBUG_LOCK_ENABLED turned on or off? I'd be interested in that
> data too.
>
I had CONFIG_OCFS2_FS_STATS enabled and CONFIG_DEBUG_LOCK_ALLOC disabled.
--
Goldwyn
More information about the Ocfs2-devel
mailing list