diff options
author | Daniel Hill <daniel@gluo.nz> | 2022-08-06 05:48:49 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:43 +0300 |
commit | 92095781e0f607e735971c1a6462ca6dad8826d2 (patch) | |
tree | 512dffdde6b5714865d7dabc54a4fa7f27a66708 /fs/bcachefs/Makefile | |
parent | 07bfcc0b4c92a569b7f613a3202f45c89f983b4f (diff) | |
download | linux-92095781e0f607e735971c1a6462ca6dad8826d2.tar.xz |
bcachefs: Mean and variance
This module provides a fast 64bit implementation of basic statistics
functions, including mean, variance and standard deviation in both
weighted and unweighted variants, the unweighted variant has a 32bit
limitation per sample to prevent overflow when squaring.
Signed-off-by: Daniel Hill <daniel@gluo.nz>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/Makefile')
-rw-r--r-- | fs/bcachefs/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/Makefile b/fs/bcachefs/Makefile index e23667548e09..444e79c62b50 100644 --- a/fs/bcachefs/Makefile +++ b/fs/bcachefs/Makefile @@ -46,6 +46,7 @@ bcachefs-y := \ journal_seq_blacklist.o \ keylist.o \ lru.o \ + mean_and_variance.o \ migrate.o \ move.o \ movinggc.o \ @@ -69,3 +70,4 @@ bcachefs-y := \ xattr.o bcachefs-$(CONFIG_BCACHEFS_POSIX_ACL) += acl.o +obj-$(CONFIG_MEAN_AND_VARIANCE_UNIT_TEST) += mean_and_variance_test.o |