/* Disable kmemleak. No memory allocation/freeing will be traced once this function is called. Disabling kmemleak is an irreversible operation.  */
static void kmemleak_disable(void)
/* Disable kmemleak. No memory allocation/freeing will be traced once this function is called. Disabling kmemleak is an irreversible operation.  */
static void kmemleak_disable(void)
{
	if (atomic_cmpxchg(&kmemleak_error, 0, 1))
		return;
	atomic_set(&kmemleak_early_log, 0);
	atomic_set(&kmemleak_enabled, 0);
	if (atomic_read(&kmemleak_initialized))
		schedule_work(&cleanup_work);
	pr_info("Kernel memory leak detector disabled\n");
}