diff options
author | Mike Frantzen <frantzen@cvs.openbsd.org> | 2004-04-09 19:30:42 +0000 |
---|---|---|
committer | Mike Frantzen <frantzen@cvs.openbsd.org> | 2004-04-09 19:30:42 +0000 |
commit | 6d2ad0bf0512630f2863296ea6ff1a431005d505 (patch) | |
tree | d7e84ec76ce471f3d67511ae3d0297403766ceb5 | |
parent | 816aca976e5c10b67e706e794e2e671c5d002977 (diff) |
move some of the non-interrupt pools from the small kmem_map to the much
larger kernel map
-rw-r--r-- | sys/net/pf_ioctl.c | 6 | ||||
-rw-r--r-- | sys/net/pf_osfp.c | 6 | ||||
-rw-r--r-- | sys/net/pf_table.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c index dd25ce2babe..8e817d54990 100644 --- a/sys/net/pf_ioctl.c +++ b/sys/net/pf_ioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_ioctl.c,v 1.112 2004/03/22 04:54:18 mcbride Exp $ */ +/* $OpenBSD: pf_ioctl.c,v 1.113 2004/04/09 19:30:41 frantzen Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -125,9 +125,9 @@ pfattach(int num) pool_init(&pf_state_pl, sizeof(struct pf_state), 0, 0, 0, "pfstatepl", NULL); pool_init(&pf_altq_pl, sizeof(struct pf_altq), 0, 0, 0, "pfaltqpl", - NULL); + &pool_allocator_nointr); pool_init(&pf_pooladdr_pl, sizeof(struct pf_pooladdr), 0, 0, 0, - "pfpooladdrpl", NULL); + "pfpooladdrpl", &pool_allocator_nointr); pfr_initialize(); pfi_initialize(); pf_osfp_initialize(); diff --git a/sys/net/pf_osfp.c b/sys/net/pf_osfp.c index 98cc01ab1fb..b2adcf29667 100644 --- a/sys/net/pf_osfp.c +++ b/sys/net/pf_osfp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_osfp.c,v 1.9 2004/01/04 20:08:42 pvalchev Exp $ */ +/* $OpenBSD: pf_osfp.c,v 1.10 2004/04/09 19:30:41 frantzen Exp $ */ /* * Copyright (c) 2003 Mike Frantzen <frantzen@w4g.org> @@ -233,9 +233,9 @@ void pf_osfp_initialize(void) { pool_init(&pf_osfp_entry_pl, sizeof(struct pf_osfp_entry), 0, 0, 0, - "pfosfpen", NULL); + "pfosfpen", &pool_allocator_nointr); pool_init(&pf_osfp_pl, sizeof(struct pf_os_fingerprint), 0, 0, 0, - "pfosfp", NULL); + "pfosfp", &pool_allocator_nointr); SLIST_INIT(&pf_osfp_list); } diff --git a/sys/net/pf_table.c b/sys/net/pf_table.c index 42d4cee0b7c..148b85ec8c1 100644 --- a/sys/net/pf_table.c +++ b/sys/net/pf_table.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_table.c,v 1.47 2004/03/09 21:44:41 mcbride Exp $ */ +/* $OpenBSD: pf_table.c,v 1.48 2004/04/09 19:30:41 frantzen Exp $ */ /* * Copyright (c) 2002 Cedric Berger @@ -187,9 +187,9 @@ void pfr_initialize(void) { pool_init(&pfr_ktable_pl, sizeof(struct pfr_ktable), 0, 0, 0, - "pfrktable", NULL); + "pfrktable", &pool_allocator_nointr); pool_init(&pfr_kentry_pl, sizeof(struct pfr_kentry), 0, 0, 0, - "pfrkentry", NULL); + "pfrkentry", &pool_allocator_nointr); pfr_sin.sin_len = sizeof(pfr_sin); pfr_sin.sin_family = AF_INET; |