mirror_zfs/module/zfs
Alexander Motin 8172df643b
Minor ARC optimizations
Remove unneeded global, practically constant, state pointer variables
(arc_anon, arc_mru, etc.), replacing them with macros of real state
variables addresses (&ARC_anon, &ARC_mru, etc.). 

Change ARC_EVICT_ALL from -1ULL to UINT64_MAX, not requiring special
handling in inner loop of ARC reclamation.  Respectively change bytes
argument of arc_evict_state() from int64_t to uint64_t.

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Mark Maybee <mark.maybee@delphix.com>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Closes #12348
2021-07-20 08:13:21 -06:00
..
abd.c Fix abd leak, kmem_free correct size of abd_t 2021-07-01 09:28:15 -06:00
aggsum.c More aggsum optimizations 2021-06-07 09:02:47 -07:00
arc.c Minor ARC optimizations 2021-07-20 08:13:21 -06:00
blkptr.c
bplist.c
bpobj.c
bptree.c
bqueue.c
btree.c
dataset_kstats.c Introduce write-mostly sums 2021-05-27 14:27:29 -06:00
dbuf_stats.c
dbuf.c Compact dbuf/buf hashes and lock arrays 2021-07-01 09:30:31 -06:00
ddt_zap.c
ddt.c Tinker with slop space accounting with dedup 2021-07-13 09:47:57 -06:00
dmu_diff.c
dmu_object.c
dmu_objset.c Avoid 64bit division in multilist index functions 2021-06-29 06:59:14 -06:00
dmu_recv.c Annotated dprintf as printf-like 2021-06-22 21:53:45 -07:00
dmu_redact.c dmu_redact.c does not call bqueue_destroy 2021-07-20 08:08:45 -06:00
dmu_send.c
dmu_traverse.c ZFS traverse_visitbp optimization to limit prefetch 2021-04-15 13:49:27 -07:00
dmu_tx.c Annotated dprintf as printf-like 2021-06-22 21:53:45 -07:00
dmu_zfetch.c Upstream: dmu_zfetch_stream_fini leaks refcount 2021-07-01 09:22:16 -06:00
dmu.c
dnode_sync.c Annotated dprintf as printf-like 2021-06-22 21:53:45 -07:00
dnode.c Annotated dprintf as printf-like 2021-06-22 21:53:45 -07:00
dsl_bookmark.c
dsl_crypt.c Revert "Fix raw sends on encrypted datasets when copying back snapshots" 2021-05-13 10:00:17 -07:00
dsl_dataset.c Introduce dsl_dir_diduse_transfer_space() 2021-07-16 13:39:24 -06:00
dsl_deadlist.c Livelist logic should handle dedup blkptrs 2021-06-07 13:09:07 -06:00
dsl_deleg.c
dsl_destroy.c Annotated dprintf as printf-like 2021-06-22 21:53:45 -07:00
dsl_dir.c Introduce dsl_dir_diduse_transfer_space() 2021-07-16 13:39:24 -06:00
dsl_pool.c Optimize txg_kick() process (#12274) 2021-07-01 09:20:27 -06:00
dsl_prop.c
dsl_scan.c Improve scrub maxinflight_bytes math. 2021-05-27 10:11:39 -06:00
dsl_synctask.c
dsl_userhold.c
edonr_zfs.c
fm.c file reference counts can get corrupted 2021-07-10 19:00:37 -06:00
gzip.c
hkdf.c
lz4.c
lzjb.c
Makefile.in
metaslab.c Avoid 64bit division in multilist index functions 2021-06-29 06:59:14 -06:00
mmp.c Annotated dprintf as printf-like 2021-06-22 21:53:45 -07:00
multilist.c Optimize small random numbers generation 2021-06-22 17:35:23 -06:00
objlist.c
pathname.c
range_tree.c Annotated dprintf as printf-like 2021-06-22 21:53:45 -07:00
refcount.c
rrwlock.c
sa.c Annotated dprintf as printf-like 2021-06-22 21:53:45 -07:00
sha256.c
skein_zfs.c
spa_boot.c
spa_checkpoint.c Annotated dprintf as printf-like 2021-06-22 21:53:45 -07:00
spa_config.c
spa_errlog.c
spa_history.c Annotated dprintf as printf-like 2021-06-22 21:53:45 -07:00
spa_log_spacemap.c Balance parentheses in parameter descriptions 2021-04-11 16:35:07 -07:00
spa_misc.c Tinker with slop space accounting with dedup 2021-07-13 09:47:57 -06:00
spa_stats.c Remove pool io kstats (#12212) 2021-06-10 08:27:33 -07:00
spa.c Update cache file when setting compatibility property 2021-06-24 14:30:02 -07:00
space_map.c Annotated dprintf as printf-like 2021-06-22 21:53:45 -07:00
space_reftree.c
THIRDPARTYLICENSE.cityhash
THIRDPARTYLICENSE.cityhash.descrip
txg.c Optimize txg_kick() process (#12274) 2021-07-01 09:20:27 -06:00
uberblock.c
unique.c
vdev_cache.c
vdev_draid_rand.c
vdev_draid.c vdev_draid_min_asize() ignores reserved space 2021-06-13 10:48:53 -07:00
vdev_indirect_births.c
vdev_indirect_mapping.c
vdev_indirect.c Annotated dprintf as printf-like 2021-06-22 21:53:45 -07:00
vdev_initialize.c
vdev_label.c
vdev_mirror.c Optimize small random numbers generation 2021-06-22 17:35:23 -06:00
vdev_missing.c
vdev_queue.c Move gethrtime() calls out of vdev queue lock 2021-07-06 14:38:00 -07:00
vdev_raidz_math_aarch64_neon_common.h
vdev_raidz_math_aarch64_neon.c
vdev_raidz_math_aarch64_neonx2.c
vdev_raidz_math_avx2.c
vdev_raidz_math_avx512bw.c
vdev_raidz_math_avx512f.c
vdev_raidz_math_impl.h
vdev_raidz_math_powerpc_altivec_common.h
vdev_raidz_math_powerpc_altivec.c
vdev_raidz_math_scalar.c
vdev_raidz_math_sse2.c
vdev_raidz_math_ssse3.c
vdev_raidz_math.c
vdev_raidz.c Fix dRAID sequential resilver silent damage handling 2021-05-20 15:05:26 -07:00
vdev_rebuild.c
vdev_removal.c Annotated dprintf as printf-like 2021-06-22 21:53:45 -07:00
vdev_root.c
vdev_trim.c
vdev.c Annotated dprintf as printf-like 2021-06-22 21:53:45 -07:00
zap_leaf.c
zap_micro.c Annotated dprintf as printf-like 2021-06-22 21:53:45 -07:00
zap.c Annotated dprintf as printf-like 2021-06-22 21:53:45 -07:00
zcp_get.c
zcp_global.c
zcp_iter.c Fix typos in module/zfs/ 2019-09-02 17:56:41 -07:00
zcp_set.c
zcp_synctask.c A few fixes of callback typecasting (for the upcoming ClangCFI) 2021-07-20 08:03:33 -06:00
zcp.c Annotated dprintf as printf-like 2021-06-22 21:53:45 -07:00
zfeature.c
zfs_byteswap.c
zfs_fm.c
zfs_fuid.c
zfs_ioctl.c file reference counts can get corrupted 2021-07-10 19:00:37 -06:00
zfs_log.c
zfs_onexit.c file reference counts can get corrupted 2021-07-10 19:00:37 -06:00
zfs_quota.c
zfs_ratelimit.c
zfs_replay.c
zfs_rlock.c
zfs_sa.c
zfs_vnops.c
zil.c A few fixes of callback typecasting (for the upcoming ClangCFI) 2021-07-20 08:03:33 -06:00
zio_checksum.c
zio_compress.c Optimize small random numbers generation 2021-06-22 17:35:23 -06:00
zio_inject.c Optimize small random numbers generation 2021-06-22 17:35:23 -06:00
zio.c A few fixes of callback typecasting (for the upcoming ClangCFI) 2021-07-20 08:03:33 -06:00
zle.c
zrlock.c
zthr.c
zvol.c A few fixes of callback typecasting (for the upcoming ClangCFI) 2021-07-20 08:03:33 -06:00