From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756055AbcJTVuc (ORCPT ); Thu, 20 Oct 2016 17:50:32 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:35894 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754294AbcJTVub (ORCPT ); Thu, 20 Oct 2016 17:50:31 -0400 Date: Thu, 20 Oct 2016 23:50:17 +0200 From: Vitaly Wool To: Linux-MM , linux-kernel@vger.kernel.org Cc: Dan Streetman , Andrew Morton Subject: [PATCHv2 0/3] z3fold: background page compaction Message-Id: <20161020235017.d68ab1ff83d6f246fa3d7ee2@gmail.com> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The coming patchset is another take on z3fold page layout optimization problem. The previous solution [1] used shrinker to solve the issue of in-page space fragmentation but after some discussions the decision was made to rewrite background page layout optimization using good old work queues. The patchset thus implements in-page compaction worker for z3fold, preceded by some code optimizations and preparations which, again, deserved to be separate patches. Main changes compared to v1: - per-page locking is removed due to size problems (z3fold header becomes greater than one chunk on x86_64 with gcc 6.0) and non-obvious performance benefits - instead, per-pool spinlock is substituted with rwlock. Signed-off-by: Vitaly Wool [1] https://lkml.org/lkml/2016/10/15/31