From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ee0-f42.google.com (mail-ee0-f42.google.com [74.125.83.42]) by kanga.kvack.org (Postfix) with ESMTP id CA9046B009C for ; Tue, 8 Apr 2014 09:09:40 -0400 (EDT) Received: by mail-ee0-f42.google.com with SMTP id d17so662446eek.15 for ; Tue, 08 Apr 2014 06:09:40 -0700 (PDT) Received: from mx2.suse.de (cantor2.suse.de. [195.135.220.15]) by mx.google.com with ESMTPS id z2si2705945eeo.304.2014.04.08.06.09.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Apr 2014 06:09:38 -0700 (PDT) From: Mel Gorman Subject: [RFC PATCH 0/5] Use an alternative to _PAGE_PROTNONE for _PAGE_NUMA v2 Date: Tue, 8 Apr 2014 14:09:25 +0100 Message-Id: <1396962570-18762-1-git-send-email-mgorman@suse.de> Sender: owner-linux-mm@kvack.org List-ID: To: Linux-X86 Cc: Linus Torvalds , Cyrill Gorcunov , Mel Gorman , Peter Anvin , Ingo Molnar , Steven Noonan , Rik van Riel , David Vrabel , Andrew Morton , Peter Zijlstra , Andrea Arcangeli , Dave Hansen , Srikar Dronamraju , Linux-MM , LKML Using unused physical bits is something that will break eventually. Changelog since V1 o Reuse software-bits o Use paravirt ops when modifying PTEs in the NUMA helpers Aliasing _PAGE_NUMA and _PAGE_PROTNONE had some convenient properties but it ultimately gave Xen a headache and pisses almost everybody off that looks closely at it. Two discussions on "why this makes sense" is one discussion too many so rather than having a third so here is this series. This series reuses the PTE bits that are available to the programmer. This adds some contraints on how and when automatic NUMA balancing can be enabled but it should go away again when Xen stops using _PAGE_IOMAP. The series also converts the NUMA helpers to use paravirt-friendly operations but it needs a Tested-by from the Xen and powerpc people. arch/x86/Kconfig | 2 +- arch/x86/include/asm/pgtable.h | 5 +++ arch/x86/include/asm/pgtable_types.h | 66 ++++++++++++++++++++---------------- include/asm-generic/pgtable.h | 31 ++++++++++++----- mm/memory.c | 12 ------- 5 files changed, 66 insertions(+), 50 deletions(-) -- 1.8.4.5 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org