Commit 2760bfe
Kent Overstreet
bcachefs: Fix reporting of freed objects from key cache shrinker
We count objects as freed when we move them to the srcu-pending lists
because we're doing the equivalent of a kfree_srcu(); the only
difference is managing the pending list ourself means we can allocate
from the pending list.
Signed-off-by: Kent Overstreet <[email protected]>1 parent 9ac3e66 commit 2760bfe
1 file changed
+5
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
841 | 841 | | |
842 | 842 | | |
843 | 843 | | |
844 | | - | |
845 | 844 | | |
846 | 845 | | |
847 | 846 | | |
| |||
855 | 854 | | |
856 | 855 | | |
857 | 856 | | |
858 | | - | |
859 | 857 | | |
860 | 858 | | |
861 | 859 | | |
| |||
877 | 875 | | |
878 | 876 | | |
879 | 877 | | |
880 | | - | |
881 | 878 | | |
882 | 879 | | |
883 | 880 | | |
884 | | - | |
885 | | - | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
886 | 884 | | |
887 | 885 | | |
888 | 886 | | |
889 | | - | |
890 | | - | |
| 887 | + | |
891 | 888 | | |
892 | 889 | | |
893 | 890 | | |
894 | 891 | | |
895 | 892 | | |
896 | | - | |
| 893 | + | |
897 | 894 | | |
898 | 895 | | |
899 | 896 | | |
| |||
0 commit comments