> The check_pages function is called often enough that it can cause problems> with trace outputs or even bringing the system to a halt.> > This patch limits the check_pages to the places that are most likely to> have problems. The check is made at the flip between the global array and> the max save array, as well as when the size of the buffers changes and> the self tests.> > This patch also removes the BUG_ON from check_pages and replaces it with> a WARN_ON and disabling of the tracer.