> +static unsigned long ra_stats[RA_PATTERN_MAX][RA_ACCOUNT_MAX];Why not make it per cpu? That should get the overhead down, probablyeven enough that it can be enabled by default.BTW I have an older framework to make it really easy to add percpu stats counters to debugfs. Will repost, that would simplifyit even more.-Andi