Re: [RFC] fs: Use slab constructor to initialize conn objects in fsnotify
From: Joel Fernandes
Date: Thu Apr 23 2020 - 09:52:10 EST
On Thu, Apr 23, 2020 at 9:20 AM Joel Fernandes <joel@xxxxxxxxxxxxxxxxx> wrote:
>
> There's one improvement (although probably verys small) that the paper mentions:
> Also according to the paper you referenced, the instruction cache is
> what would also benefit. Those spinlock and hlist initialization
> instructions wouldn't cost L1 I-cache footprint for every allocation.
Just to add to my statement: Obviously, this benefit gives diminishing
returns in this code path considering that the allocations here are
infrequent. But I just mentioned it here for completeness sake.
Thanks,
- Joel