mirror_zfs/include/sys
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
..
crypto gcc 11 cleanup 2021-06-23 17:57:06 -06:00
fm file reference counts can get corrupted 2021-07-10 19:00:37 -06:00
fs libzfs: convert to -fvisibility=hidden 2021-06-03 13:17:55 -07:00
lua
sysevent
zstd zstd: track allocator statistics 2020-10-30 15:26:10 -07:00
abd_impl.h Fix abd leak, kmem_free correct size of abd_t 2021-07-01 09:28:15 -06:00
abd.h FreeBSD: Hardcode abd_chunk_size to PAGE_SIZE 2021-07-06 17:39:23 -07:00
aggsum.h More aggsum optimizations 2021-06-07 09:02:47 -07:00
arc_impl.h Minor ARC optimizations 2021-07-20 08:13:21 -06:00
arc.h Minor ARC optimizations 2021-07-20 08:13:21 -06:00
avl_impl.h Remove avl_size field from struct avl_tree 2021-07-01 09:32:31 -06:00
avl.h lib{efi,avl,share,tpool,zfs_core,zfsbootenv,zutil}: -fvisibility=hidden 2021-06-09 17:04:32 -07:00
bitops.h
blkptr.h
bplist.h
bpobj.h
bptree.h
bqueue.h
btree.h
dataset_kstats.h Introduce write-mostly sums 2021-05-27 14:27:29 -06:00
dbuf.h dprintf_dnode: strcpy -> strlcpy 2021-07-07 21:13:40 -06:00
ddt.h
dmu_impl.h Remove UIO_ZEROCOPY functions structures 2020-10-30 10:00:33 -07:00
dmu_objset.h Re-embed multilist_t storage 2021-06-10 10:42:31 -06:00
dmu_recv.h Removed duplicated includes 2021-03-22 12:34:58 -07:00
dmu_redact.h Suppress cppcheck invalidSyntax warninigs 2021-03-05 17:56:35 -08:00
dmu_send.h Removed duplicated includes 2021-03-22 12:34:58 -07:00
dmu_traverse.h
dmu_tx.h
dmu_zfetch.h Split dmu_zfetch() speculation and execution parts 2021-03-19 22:56:11 -07:00
dmu.h Set aside a metaslab for ZIL blocks 2021-01-21 15:12:54 -08:00
dnode.h dprintf_dnode: strcpy -> strlcpy 2021-07-07 21:13:40 -06:00
dsl_bookmark.h
dsl_crypt.h
dsl_dataset.h implicit conversion from 'boolean_t' to 'ds_hold_flags_t' 2020-12-27 16:31:02 -08:00
dsl_deadlist.h
dsl_deleg.h
dsl_destroy.h
dsl_dir.h Introduce dsl_dir_diduse_transfer_space() 2021-07-16 13:39:24 -06:00
dsl_pool.h
dsl_prop.h
dsl_scan.h Use dsl_scan_setup_check() to setup a scrub 2021-04-08 14:33:15 -07:00
dsl_synctask.h Add upper bound for slop space calculation 2021-02-24 09:52:43 -08:00
dsl_userhold.h
edonr.h
efi_partition.h lib{efi,avl,share,tpool,zfs_core,zfsbootenv,zutil}: -fvisibility=hidden 2021-06-09 17:04:32 -07:00
frame.h Linux 5.10 compat: frame.h renamed objtool.h 2020-11-02 22:01:10 +00:00
hkdf.h
Makefile.am Restore FreeBSD resource usage accounting 2021-02-19 22:34:33 -08:00
metaslab_impl.h Re-embed multilist_t storage 2021-06-10 10:42:31 -06:00
metaslab.h Only examine best metaslabs on each vdev 2020-12-16 14:40:05 -08:00
mmp.h
mntent.h
mod.h
multilist.h Re-embed multilist_t storage 2021-06-10 10:42:31 -06:00
note.h
nvpair_impl.h
nvpair.h lib{efi,avl,share,tpool,zfs_core,zfsbootenv,zutil}: -fvisibility=hidden 2021-06-09 17:04:32 -07:00
objlist.h
pathname.h
qat.h
range_tree.h
rrwlock.h
sa_impl.h
sa.h Extending FreeBSD UIO Struct 2021-01-20 21:27:30 -08:00
skein.h
spa_boot.h
spa_checkpoint.h
spa_checksum.h
spa_impl.h Remove refcount from spa_config_*() 2021-07-01 09:16:54 -06:00
spa_log_spacemap.h
spa.h Optimize small random numbers generation 2021-06-22 17:35:23 -06:00
space_map.h
space_reftree.h
sysevent.h
txg_impl.h
txg.h Optimize txg_kick() process (#12274) 2021-07-01 09:20:27 -06:00
u8_textprep_data.h
u8_textprep.h
uberblock_impl.h
uberblock.h
uio_impl.h Cleaning up uio headers 2021-02-20 20:16:50 -08:00
unique.h
uuid.h
vdev_disk.h
vdev_draid.h Fix various typos 2021-04-02 18:52:15 -07:00
vdev_file.h
vdev_impl.h Ratelimit deadman zevents as with delay zevents 2021-04-07 16:23:57 -07:00
vdev_indirect_births.h
vdev_indirect_mapping.h
vdev_initialize.h
vdev_raidz_impl.h Fix dRAID sequential resilver silent damage handling 2021-05-20 15:05:26 -07:00
vdev_raidz.h Clean up RAIDZ/DRAID ereport code 2021-03-19 16:22:10 -07:00
vdev_rebuild.h Fix various typos 2021-04-02 18:52:15 -07:00
vdev_removal.h
vdev_trim.h
vdev.h Use a helper function to clarify gang block size 2021-03-26 11:19:35 -07:00
xvattr.h
zap_impl.h
zap_leaf.h
zap.h
zcp_global.h
zcp_iter.h
zcp_prop.h
zcp_set.h
zcp.h
zfeature.h
zfs_acl.h
zfs_bootenv.h
zfs_context.h FreeBSD: fix compilation of FreeBSD world after 29274c9f6 2021-06-25 10:28:51 -07:00
zfs_debug.h Annotated dprintf as printf-like 2021-06-22 21:53:45 -07:00
zfs_delay.h
zfs_file.h file reference counts can get corrupted 2021-07-10 19:00:37 -06:00
zfs_fuid.h
zfs_ioctl_impl.h libzfs: On FreeBSD, use MNT_NOWAIT with getfsstat 2021-06-08 07:36:43 -06:00
zfs_ioctl.h file reference counts can get corrupted 2021-07-10 19:00:37 -06:00
zfs_onexit.h file reference counts can get corrupted 2021-07-10 19:00:37 -06:00
zfs_project.h
zfs_quota.h
zfs_racct.h Restore FreeBSD resource usage accounting 2021-02-19 22:34:33 -08:00
zfs_ratelimit.h
zfs_refcount.h
zfs_rlock.h
zfs_sa.h Extending FreeBSD UIO Struct 2021-01-20 21:27:30 -08:00
zfs_stat.h
zfs_sysfs.h libzfs: convert to -fvisibility=hidden 2021-06-03 13:17:55 -07:00
zfs_vfsops.h
zfs_vnops.h Extending FreeBSD UIO Struct 2021-01-20 21:27:30 -08:00
zfs_znode.h Rename zfs_inode_update to zfs_znode_update_vfs 2021-02-09 11:17:29 -08:00
zil_impl.h
zil.h Fix zfs_get_data access to files with wrong generation 2021-03-19 22:53:31 -07:00
zio_checksum.h libzfs: convert to -fvisibility=hidden 2021-06-03 13:17:55 -07:00
zio_compress.h
zio_crypt.h
zio_impl.h
zio_priority.h
zio.h A few fixes of callback typecasting (for the upcoming ClangCFI) 2021-07-20 08:03:33 -06:00
zrlock.h
zthr.h
zvol_impl.h Fix zfs_get_data access to files with wrong generation 2021-03-19 22:53:31 -07:00
zvol.h