mirror_zfs/module/zfs
наб 18168da727
module/*.ko: prune .data, global .rodata
Evaluated every variable that lives in .data (and globals in .rodata)
in the kernel modules, and constified/eliminated/localised them
appropriately. This means that all read-only data is now actually
read-only data, and, if possible, at file scope. A lot of previously-
global-symbols became inlinable (and inlined!) constants. Probably
not in a big Wowee Performance Moment, but hey.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12899
2022-01-14 15:37:55 -08:00
..
abd.c module: zfs: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
aggsum.c
arc.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
blkptr.c
bplist.c
bpobj.c module: zfs: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
bptree.c module: zfs: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
bqueue.c
btree.c
dataset_kstats.c
dbuf_stats.c
dbuf.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
ddt_zap.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
ddt.c
dmu_diff.c module: zfs: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
dmu_object.c
dmu_objset.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
dmu_recv.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
dmu_redact.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
dmu_send.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
dmu_traverse.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
dmu_tx.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
dmu_zfetch.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
dmu.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
dnode_sync.c
dnode.c module: zfs: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
dsl_bookmark.c module: zfs: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
dsl_crypt.c
dsl_dataset.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
dsl_deadlist.c
dsl_deleg.c
dsl_destroy.c module: zfs: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
dsl_dir.c module: zfs: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
dsl_pool.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
dsl_prop.c module: zfs: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
dsl_scan.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
dsl_synctask.c module: zfs: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
dsl_userhold.c
edonr_zfs.c
fm.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
gzip.c module: zfs: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
hkdf.c
lz4_zfs.c Updated the lz4 decompressor 2022-01-07 10:36:49 -08:00
lz4.c lz4: Cherrypick fix for CVE-2021-3520 2022-01-12 16:14:36 -08:00
lzjb.c module: zfs: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
Makefile.in Updated the lz4 decompressor 2022-01-07 10:36:49 -08:00
metaslab.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
mmp.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
multilist.c module: zfs: multilist: shim out multilist_d2l() 2021-12-23 09:36:45 -08:00
objlist.c
pathname.c
range_tree.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
refcount.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
rrwlock.c
sa.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
sha256.c module: zfs: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
skein_zfs.c
spa_boot.c
spa_checkpoint.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
spa_config.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
spa_errlog.c module: zfs: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
spa_history.c
spa_log_spacemap.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
spa_misc.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
spa_stats.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
spa.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
space_map.c
space_reftree.c
THIRDPARTYLICENSE.cityhash
THIRDPARTYLICENSE.cityhash.descrip
txg.c
uberblock.c
unique.c
vdev_cache.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
vdev_draid_rand.c
vdev_draid.c Verify dRAID empty sectors 2022-01-04 16:46:32 -08:00
vdev_indirect_births.c module: zfs: vdev: shim out vdev_indirect_births_verify() 2021-12-23 09:42:29 -08:00
vdev_indirect_mapping.c module: zfs: vdev: shim out vdev_indirect_mapping_verify() 2021-12-23 09:42:41 -08:00
vdev_indirect.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
vdev_initialize.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
vdev_label.c Add const to nvlist functions to properly expose their real behavior 2021-12-06 18:19:13 -07:00
vdev_mirror.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
vdev_missing.c module: zfs: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
vdev_queue.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08: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 module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
vdev_raidz.c Verify dRAID empty sectors 2022-01-04 16:46:32 -08:00
vdev_rebuild.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
vdev_removal.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
vdev_root.c
vdev_trim.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
vdev.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
zap_leaf.c
zap_micro.c
zap.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
zcp_get.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
zcp_global.c
zcp_iter.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
zcp_set.c
zcp_synctask.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
zcp.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
zfeature.c
zfs_byteswap.c
zfs_fm.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
zfs_fuid.c Add const to nvlist functions to properly expose their real behavior 2021-12-06 18:19:13 -07:00
zfs_ioctl.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
zfs_log.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
zfs_onexit.c
zfs_quota.c
zfs_ratelimit.c
zfs_replay.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
zfs_rlock.c
zfs_sa.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
zfs_vnops.c Fix lseek(SEEK_DATA/SEEK_HOLE) mmap consistency 2021-11-07 14:27:44 -07:00
zil.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
zio_checksum.c module: zfs: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
zio_compress.c module: zfs: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
zio_inject.c
zio.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
zle.c
zrlock.c
zthr.c
zvol.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00