From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from g1t6225.austin.hp.com ([15.73.96.126]:39459 "EHLO g1t6225.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966628AbcAZQEK (ORCPT ); Tue, 26 Jan 2016 11:04:10 -0500 Received: from g2t4620.austin.hp.com (g2t4620.austin.hp.com [15.73.212.81]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by g1t6225.austin.hp.com (Postfix) with ESMTPS id CE2B52FC9 for ; Tue, 26 Jan 2016 16:04:09 +0000 (UTC) From: Waiman Long To: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Alexander Viro Cc: linux-fsdevel@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Scott J Norton , Douglas Hatch , Waiman Long Subject: [RFC PATCH 0/3] lib/list_batch: A simple list insertion/deletion batching facility Date: Tue, 26 Jan 2016 11:03:36 -0500 Message-Id: <1453824219-51437-1-git-send-email-Waiman.Long@hpe.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: This patchset introduces a simple list insertion/deletion batching facility to batch multiple list insertion and deletion operations into a single one under one lock/unlock critical section. Patch 1 introduces this new facility. Patch 2 enables it for the x86-64 architecture. Patch 3 makes the insertion and deletion of the VFS superblock's inode list to use the new list batching functions. Waiman Long (3): lib/list_batch: A simple list insertion/deletion batching facility lib/list_batch, x86: Enable list insertion/deletion batching in x86-64 vfs: Enable list batching for the superblock's inode list arch/x86/Kconfig | 1 + fs/inode.c | 13 ++--- fs/super.c | 1 + include/linux/fs.h | 2 + include/linux/list_batch.h | 120 ++++++++++++++++++++++++++++++++++++++++++++ lib/Kconfig | 7 +++ lib/Makefile | 1 + lib/list_batch.c | 117 ++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 254 insertions(+), 8 deletions(-) create mode 100644 include/linux/list_batch.h create mode 100644 lib/list_batch.c