Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/sommerfeld_i386mp_1]: src/sys/arch/i386/i386 Adjust for pool_prime() cha...
details: https://anonhg.NetBSD.org/src/rev/d547c1578c51
branches: sommerfeld_i386mp_1
changeset: 482393:d547c1578c51
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu May 10 04:57:06 2001 +0000
description:
Adjust for pool_prime() changes.
diffstat:
sys/arch/i386/i386/pmap.c | 13 ++++---------
1 files changed, 4 insertions(+), 9 deletions(-)
diffs (34 lines):
diff -r e2c841f21e73 -r d547c1578c51 sys/arch/i386/i386/pmap.c
--- a/sys/arch/i386/i386/pmap.c Mon May 07 21:15:04 2001 +0000
+++ b/sys/arch/i386/i386/pmap.c Thu May 10 04:57:06 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.83.2.35 2001/05/04 20:19:57 thorpej Exp $ */
+/* $NetBSD: pmap.c,v 1.83.2.36 2001/05/10 04:57:06 thorpej Exp $ */
/*
*
@@ -292,7 +292,6 @@
struct pool pmap_tlb_shootdown_job_pool;
int pj_nentries, pj_nbytes;
-void *pj_page;
void pmap_tlb_shootdown_q_drain __P((struct pmap_tlb_shootdown_q *));
struct pmap_tlb_shootdown_job *pmap_tlb_shootdown_job_get
@@ -1124,13 +1123,9 @@
*/
pj_nentries = pmap_tlb_shootdown_job_pool.pr_itemsperpage;
pj_nbytes = pmap_tlb_shootdown_job_pool.pr_pagesz;
- printf("%d pool entries; page size %d\n", pj_nentries, pj_nbytes);
- pj_page = (void *)uvm_km_alloc (kernel_map, pj_nbytes);
- if (pj_page == NULL)
- panic("pmap_init: pj_page");
- pool_prime (&pmap_tlb_shootdown_job_pool, pj_nentries, pj_page);
- pool_setlowat(&pmap_tlb_shootdown_job_pool, 0);
- pool_sethiwat(&pmap_tlb_shootdown_job_pool, pj_nentries);
+ printf("%d TLB shootdown pool entries; page size %d\n",
+ pj_nentries, pj_nbytes);
+ pool_prime(&pmap_tlb_shootdown_job_pool, pj_nentries);
pool_sethardlimit(&pmap_tlb_shootdown_job_pool, pj_nentries, 0, 0);
/*
Home |
Main Index |
Thread Index |
Old Index