Re: [PATCH 1/4] mm, vmscan: Batch removal of mappings under a single lock during reclaim

From: Linus Torvalds
Date: Fri Sep 16 2016 - 14:33:20 EST


On Fri, Sep 16, 2016 at 6:25 AM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> So, once upon a time, in a galaxy far away,.. I did a concurrent
> pagecache patch set that replaced the tree_lock with a per page bit-
> spinlock and fine grained locking in the radix tree.

I'd love to see the patch for that. I'd be a bit worried about extra
locking in the trivial cases (ie multi-level locking when we now take
just the single mapping lock), but if there is some smart reason why
that doesn't happen, then..

Linus