diff --git a/driver/bpf/fillers.h b/driver/bpf/fillers.h index d3c2c1b5c6..03975929e5 100644 --- a/driver/bpf/fillers.h +++ b/driver/bpf/fillers.h @@ -852,6 +852,7 @@ static __always_inline unsigned long bpf_get_mm_counter(struct mm_struct *mm, { long val; +// See 6.2 kernel commit: https://github.com/torvalds/linux/commit/f1a7941243c102a44e8847e3b94ff4ff3ec56f25 #if LINUX_VERSION_CODE < KERNEL_VERSION(6, 2, 0) bpf_probe_read(&val, sizeof(val), &mm->rss_stat.count[member]); #else