Re: [PATCH 2/2] dentry: move to per-sb LRU locks

From: Peter Zijlstra
Date: Mon Aug 08 2011 - 09:02:42 EST


On Mon, 2011-08-08 at 17:03 +1000, Dave Chinner wrote:
> + /* s_dentry_lru_lock protects s_dentry_lru, s_nr_dentry_unused */
> + spinlock_t s_dentry_lru_lock ____cacheline_aligned_in_smp;
> struct list_head s_dentry_lru; /* unused dentry lru */

Wouldn't it make sense to have both those on the same cacheline?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/