Messages in this thread | | | Date | Thu, 18 Dec 1997 18:03:44 -0500 (EST) | From | "Albert D. Cahalan" <> | Subject | Re: dentry list checker |
| |
That looks very good. I think it should be in the standard kernel, but run less often. It can also run whenever there is an oops, exception, panic, etc. I'd expect there are many other things that can be checked too.
Production systems need this kind of check as much as development systems do. Maybe development kernels should run such checks every few seconds, and production systems should run them every few minutes.
#if (PATCHLEVEL & 1) #define SANITY_CHECK_INTERVAL (3*HZ) #else #define SANITY_CHECK_INTERVAL (500*HZ) #endif
| |