Port-ia64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ia64 and emap
Hi! Mindaugas,
From: Mindaugas Rasiukevicius <rmind%netbsd.org@localhost>
Date: Sun, 19 Jul 2009 12:49:04 +0100
> KIYOHARA Takashi <kiyohara%kk.iij4u.or.jp@localhost> wrote:
> > > For now, I think it is okay to put some workaround, preferably in IA64
> > > pmap, commit your changes, and improve the pmap later.
> >
> > Please...
>
> Feel free to amend emap code as you need.
I made this patch.
Please review. ;-)
Thanks,
--
kiyohara
Index: uvm_emap.c
===================================================================
RCS file: /cvsroot/src/sys/uvm/uvm_emap.c,v
retrieving revision 1.2
diff -u -r1.2 uvm_emap.c
--- uvm_emap.c 9 Jul 2009 21:43:17 -0000 1.2
+++ uvm_emap.c 19 Jul 2009 13:19:56 -0000
@@ -71,7 +71,7 @@
#define uvm_emap_gen (_uvm_emap_gen[0])
-static u_int uvm_emap_size = UVM_EMAP_SIZE;
+u_int uvm_emap_size = UVM_EMAP_SIZE;
static vaddr_t uvm_emap_va;
static vmem_t * uvm_emap_vmem;
Index: uvm_param.h
===================================================================
RCS file: /cvsroot/src/sys/uvm/uvm_param.h,v
retrieving revision 1.21
diff -u -r1.21 uvm_param.h
--- uvm_param.h 4 Aug 2006 22:42:36 -0000 1.21
+++ uvm_param.h 19 Jul 2009 13:19:57 -0000
@@ -245,6 +245,7 @@
extern int ubc_nwins; /* number of UBC mapping windows */
extern int ubc_winshift; /* shift for a UBC mapping window */
+extern u_int uvm_emap_size; /* size of emap */
#else
/* out-of-kernel versions of round_page and trunc_page */
Home |
Main Index |
Thread Index |
Old Index