Skip to contentSkip to conversation

+ mm-x86-pgtable-require-x86_64-for-soft-dirty-tracker.patch added to -mm tree

PATCH [email protected] 1 participant 1 message May 2, 2014 x86

lore
Share & tools
lore
#0 lore raw

Subject: + mm-x86-pgtable-require-x86_64-for-soft-dirty-tracker.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 02 May 2014 14:12:11 -0700

The patch titled
Subject: mm: x86 pgtable: require X86_64 for soft-dirty tracker
has been added to the -mm tree. Its filename is

     mm-x86-pgtable-require-x86_64-for-soft-dirty-tracker.patch

This patch should soon appear at

    http://ozlabs.org/~akpm/mmots/broken-out/mm-x86-pgtable-require-x86_64-for-soft-dirty-tracker.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-x86-pgtable-require-x86_64-for-soft-dirty-tracker.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Cyrill Gorcunov <[email protected]>
Subject: mm: x86 pgtable: require X86_64 for soft-dirty tracker

Tracking dirty status on 2 level pages requires very ugly macros and taking into account how old the machines who can operate without PAE mode only are, lets drop soft dirty tracker from them for code simplicity (note I can't drop all the macros from 2 level pages by now since _PAGE_BIT_PROTNONE and _PAGE_BIT_FILE are still used even without tracker).

Linus proposed to completely rip off softdirty support on x86-32 (even with PAE) and since for CRIU we're not planning to support native x86-32 mode, lets do that.

(Softdirty tracker is relatively new feature which is mostly used by CRIU so I don't expect if such API change would cause problems for userspace).

Cc Linus Torvalds <[email protected]>
Cc Mel Gorman <[email protected]>
Cc Peter Anvin <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Steven Noonan <[email protected]>
Cc Rik van Riel <[email protected]>
Cc David Vrabel <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Pavel Emelyanov <[email protected]>

---

 arch/x86/Kconfig                      |    2 
 arch/x86/include/asm/pgtable-2level.h |   49 ------------------------
 2 files changed, 1 insertion(+), 50 deletions(-)
arch/x86/Kconfig renamed from arch/x86/Kconfig~mm-x86-pgtable-require-x86_64-for-soft-dirty-tracker +1 -1
diff -puN arch/x86/Kconfig~mm-x86-pgtable-require-x86_64-for-soft-dirty-tracker arch/x86/Kconfig
@@ -105,7 +105,7 @@ config X86
 	select HAVE_ARCH_SECCOMP_FILTER
 	select BUILDTIME_EXTABLE_SORT
 	select GENERIC_CMOS_UPDATE
-	select HAVE_ARCH_SOFT_DIRTY
+	select HAVE_ARCH_SOFT_DIRTY if X86_64
 	select CLOCKSOURCE_WATCHDOG
 	select GENERIC_CLOCKEVENTS
 	select ARCH_CLOCKSOURCE_DATA
arch/x86/include/asm/pgtable-2level.h renamed from arch/x86/include/asm/pgtable-2level.h~mm-x86-pgtable-require-x86_64-for-soft-dirty-tracker +0 -48

57 lines not on this page · raw message