Re: [PATCH 1/2] kmemcheck v3

From: Pekka Enberg
Date: Fri Feb 08 2008 - 01:35:13 EST


Pekka Enberg wrote:
No. We need to not track the whole page to avoid recursive faults. So for kmemcheck we absolutely do need cache_cache but we can, of course, hide that under a alloc_cache() function that only uses the extra cache when CONFIG_KMEMCHECK is enabled?

Btw, one option is to have a new _page flag_ so that we no longer need to look inside struct kmem_cache in the page fault handler.

Pekka


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/