From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753701AbbJPMHb (ORCPT ); Fri, 16 Oct 2015 08:07:31 -0400 Received: from e06smtp08.uk.ibm.com ([195.75.94.104]:38246 "EHLO e06smtp08.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751514AbbJPMH3 (ORCPT ); Fri, 16 Oct 2015 08:07:29 -0400 X-IBM-Helo: d06dlp02.portsmouth.uk.ibm.com X-IBM-MailFrom: ldufour@linux.vnet.ibm.com X-IBM-RcptTo: linux-kernel@vger.kernel.org From: Laurent Dufour To: linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, xemul@parallels.com, linuxppc-dev@lists.ozlabs.org, mpe@ellerman.id.au, benh@kernel.crashing.org, aneesh.kumar@linux.vnet.ibm.com, paulus@samba.org Cc: criu@openvz.org Subject: [PATCH 0/3] mm/powerpc: enabling memory soft dirty tracking Date: Fri, 16 Oct 2015 14:07:05 +0200 Message-Id: X-Mailer: git-send-email 1.9.1 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15101612-0033-0000-0000-00000472887A Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series is enabling the software memory dirty tracking in the kernel for powerpc. This is the follow up of the commit 0f8975ec4db2 ("mm: soft-dirty bits for user memory changes tracking") which introduced this feature in the mm code. The first patch is fixing an issue in the code clearing the soft dirty bit. The PTE were not cleared before being modified, leading to hang on ppc64. The second patch is fixing a build issue when the transparent huge page is not enabled. The third patch is introducing the soft dirty tracking in the powerpc architecture code. Laurent Dufour (3): mm: clearing pte in clear_soft_dirty() mm: clear_soft_dirty_pmd requires THP powerpc/mm: Add page soft dirty tracking arch/powerpc/Kconfig | 2 ++ arch/powerpc/include/asm/pgtable-ppc64.h | 13 +++++++++-- arch/powerpc/include/asm/pgtable.h | 40 +++++++++++++++++++++++++++++++- arch/powerpc/include/asm/pte-book3e.h | 1 + arch/powerpc/include/asm/pte-common.h | 5 ++-- arch/powerpc/include/asm/pte-hash64.h | 1 + fs/proc/task_mmu.c | 21 +++++++++-------- 7 files changed, 68 insertions(+), 15 deletions(-) -- 1.9.1