The patch titled Subject: mm/swap: add comments on locks in swap_slots.h has been removed from the -mm tree. Its filename was mm-swap-add-cache-for-swap-slots-allocation-fix-2.patch This patch was dropped because it was folded into mm-swap-add-cache-for-swap-slots-allocation.patch ------------------------------------------------------ From: Tim Chen <tim.c.chen@xxxxxxxxxxxxxxx> Subject: mm/swap: add comments on locks in swap_slots.h Explains what each lock protects in swap_slots_cache structure. Link: http://lkml.kernel.org/r/20170118180327.GA24225@xxxxxxxxxxxxxxx Signed-off-by: Tim Chen <tim.c.chen@xxxxxxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/swap_slots.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN include/linux/swap_slots.h~mm-swap-add-cache-for-swap-slots-allocation-fix-2 include/linux/swap_slots.h --- a/include/linux/swap_slots.h~mm-swap-add-cache-for-swap-slots-allocation-fix-2 +++ a/include/linux/swap_slots.h @@ -11,11 +11,11 @@ struct swap_slots_cache { bool lock_initialized; - struct mutex alloc_lock; + struct mutex alloc_lock; /* protects slots, nr, cur */ swp_entry_t *slots; int nr; int cur; - spinlock_t free_lock; + spinlock_t free_lock; /* protects slots_ret, n_ret */ swp_entry_t *slots_ret; int n_ret; }; _ Patches currently in -mm which might be from tim.c.chen@xxxxxxxxxxxxxxx are mm-swap-skip-read-ahead-for-unreferenced-swap-slots.patch mm-swap-allocate-swap-slots-in-batches.patch mm-swap-free-swap-slots-in-batch.patch mm-swap-add-cache-for-swap-slots-allocation.patch mm-swap-enable-swap-slots-cache-usage.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html