linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Paul Cameron Davies <pauld@cse.unsw.EDU.AU>
To: Paul Davies <pauld@gelato.unsw.edu.au>
Cc: linux-mm@kvack.org
Subject: [PATCH 2/15] PTI: Add general files and directories
Date: Sat, 21 May 2005 12:53:20 +1000 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.61.0505211250570.7134@wagner.orchestra.cse.unsw.EDU.AU> (raw)
In-Reply-To: <20050521024331.GA6984@cse.unsw.EDU.AU>

Patch 2 of 15.

This patch adds the files and directories for architecture independent
mlpt code to sit behind a clean page table interface.

 	*mlpt.c is to contain the mlpt specific functions to be moved
 	 behind the interface.
 	*page_table.h is for including general page table implementations.
 	 In this case, the incumbent mlpt.
 	*pgtable-mlpt.h and tlb-mlpt.h are for mlpt abstractions from
 	 the generic pgtable.h and tlb.h
 	*mm-mlpt.h is for mlpt abstractions from mm.h

  include/asm-generic/pgtable-mlpt.h |    4 ++++
  include/asm-generic/tlb-mlpt.h     |    4 ++++
  include/linux/page_table.h         |   12 ++++++++++++
  include/mm/mm-mlpt.h               |    4 ++++
  mm/Makefile                        |    2 ++
  mm/fixed-mlpt/Makefile             |    3 +++
  mm/fixed-mlpt/mlpt.c               |    1 +
  7 files changed, 30 insertions(+)

Index: linux-2.6.12-rc4/mm/fixed-mlpt/mlpt.c
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ linux-2.6.12-rc4/mm/fixed-mlpt/mlpt.c	2005-05-19 
17:08:37.000000000 +1000
@@ -0,0 +1 @@
+#include <linux/page_table.h>
Index: linux-2.6.12-rc4/mm/Makefile
===================================================================
--- linux-2.6.12-rc4.orig/mm/Makefile	2005-05-19 17:08:34.000000000 
+1000
+++ linux-2.6.12-rc4/mm/Makefile	2005-05-19 17:08:37.000000000 
+1000
@@ -7,6 +7,8 @@
  			   mlock.o mmap.o mprotect.o mremap.o msync.o 
rmap.o \
  			   vmalloc.o

+mmu-$(CONFIG_MMU)	+= fixed-mlpt/
+
  obj-y			:= bootmem.o filemap.o mempool.o oom_kill.o 
fadvise.o \
  			   page_alloc.o page-writeback.o pdflush.o \
  			   readahead.o slab.o swap.o truncate.o vmscan.o \
Index: linux-2.6.12-rc4/mm/fixed-mlpt/Makefile
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ linux-2.6.12-rc4/mm/fixed-mlpt/Makefile	2005-05-19 
17:08:37.000000000 +1000
@@ -0,0 +1,3 @@
+#Makefile for mm/fixed-mlpt/
+
+obj-y	:= mlpt.o
Index: linux-2.6.12-rc4/include/linux/page_table.h
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ linux-2.6.12-rc4/include/linux/page_table.h	2005-05-19 
17:08:37.000000000 +1000
@@ -0,0 +1,12 @@
+#ifndef _LINUX_PAGE_TABLE_H
+#define _LINUX_PAGE_TABLE_H 1
+
+#include <linux/config.h>
+#include <asm/pgtable.h>
+
+#ifdef CONFIG_MLPT
+#include <asm/pgalloc.h>
+#include <mm/mlpt-generic.h>
+#endif
+
+#endif
Index: linux-2.6.12-rc4/include/mm/mm-mlpt.h
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ linux-2.6.12-rc4/include/mm/mm-mlpt.h	2005-05-19 
17:08:37.000000000 +1000
@@ -0,0 +1,4 @@
+#ifndef _MM_MM_MLPT_H
+#define _MM_MM_MLPT_H 1
+
+#endif
Index: linux-2.6.12-rc4/include/asm-generic/pgtable-mlpt.h
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ linux-2.6.12-rc4/include/asm-generic/pgtable-mlpt.h	2005-05-19 
17:08:37.000000000 +1000
@@ -0,0 +1,4 @@
+#ifndef _ASM_GENERIC_PGTABLE_MLPT_H
+#define _ASM_GENERIC_PGTABLE_MLPT_H 1
+
+#endif
Index: linux-2.6.12-rc4/include/asm-generic/tlb-mlpt.h
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ linux-2.6.12-rc4/include/asm-generic/tlb-mlpt.h	2005-05-19 
17:08:37.000000000 +1000
@@ -0,0 +1,4 @@
+#ifndef _ASM_GENERIC_TLB_MLPT_H
+#define _ASM_GENERIC_TLB_MLPT_H 1
+
+#endif

--
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: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

  reply	other threads:[~2005-05-21  2:53 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-21  2:43 [PATCH 1/15] PTI: clean page table interface Paul Davies
2005-05-21  2:53 ` Paul Cameron Davies [this message]
2005-05-21  3:08   ` [PATCH 3/15] PTI: move mlpt behind interface Paul Cameron Davies
2005-05-21  3:15     ` [PATCH 4/15] PTI: move mlpt behind interface cont Paul Cameron Davies
2005-05-21  3:26       ` [PATCH 5/15] PTI: Finish moving mlpt behind interface Paul Cameron Davies
2005-05-21  3:47         ` [PATCH 6/15] PTI: Start calling the interface Paul Cameron Davies
2005-05-21  3:54           ` [PATCH 7/15] PTI: continue calling interface Paul Cameron Davies
2005-05-21  4:04             ` [PATCH 8/15] PTI: Keep " Paul Cameron Davies
2005-05-21  4:12               ` [PATCH 9/15] PTI: Introduce iterators Paul Cameron Davies
2005-05-21  4:19                 ` [PATCH 10/15] PTI: Call iterators Paul Cameron Davies
2005-05-21  4:58                   ` [PATCH 11/15] PTI: Continue calling iterators Paul Cameron Davies
2005-05-21  5:04                     ` [PATCH 12/15] PTI: Finish " Paul Cameron Davies
2005-05-21  5:09                       ` [PATCH 13/15] PTI: Add files and IA64 part of interface Paul Cameron Davies
2005-05-21  5:15                         ` [PATCH 14/15] PTI: Move IA64 mlpt code behind interface Paul Cameron Davies
2005-05-21  5:27                           ` [PATCH 15/15] PTI: Call IA64 interface Paul Cameron Davies
2005-05-21  5:46                             ` PTI: Patch 10/15 URL Paul Cameron Davies
2005-05-21  5:47                               ` PTI: LMbench results Paul Cameron Davies
2005-05-28  8:53 ` [PATCH 1/15] PTI: clean page table interface Christoph Hellwig
2005-05-30  5:16   ` Paul Davies

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.61.0505211250570.7134@wagner.orchestra.cse.unsw.EDU.AU \
    --to=pauld@cse.unsw.edu.au \
    --cc=linux-mm@kvack.org \
    --cc=pauld@gelato.unsw.edu.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox