git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add linux kernel memory support
[zfs.git]
/
module
/
zfs
/
txg.c
diff --git
a/module/zfs/txg.c
b/module/zfs/txg.c
index
f9f24dd
..
5fc086e
100644
(file)
--- a/
module/zfs/txg.c
+++ b/
module/zfs/txg.c
@@
-49,7
+49,7
@@
txg_init(dsl_pool_t *dp, uint64_t txg)
int c;
bzero(tx, sizeof (tx_state_t));
int c;
bzero(tx, sizeof (tx_state_t));
- tx->tx_cpu =
k
mem_zalloc(max_ncpus * sizeof (tx_cpu_t), KM_SLEEP);
+ tx->tx_cpu =
v
mem_zalloc(max_ncpus * sizeof (tx_cpu_t), KM_SLEEP);
for (c = 0; c < max_ncpus; c++) {
int i;
for (c = 0; c < max_ncpus; c++) {
int i;
@@
-107,7
+107,7
@@
txg_fini(dsl_pool_t *dp)
if (tx->tx_commit_cb_taskq != NULL)
taskq_destroy(tx->tx_commit_cb_taskq);
if (tx->tx_commit_cb_taskq != NULL)
taskq_destroy(tx->tx_commit_cb_taskq);
-
k
mem_free(tx->tx_cpu, max_ncpus * sizeof (tx_cpu_t));
+
v
mem_free(tx->tx_cpu, max_ncpus * sizeof (tx_cpu_t));
bzero(tx, sizeof (tx_state_t));
}
bzero(tx, sizeof (tx_state_t));
}