Re: [PATCH 22/24] HWPOISON: add memory cgroup filter

From: Andi Kleen
Date: Wed Dec 02 2009 - 07:44:57 EST


>
> +static int hwpoison_filter_task(struct page *p)
> +{

Can we make that ifdef instead of depends on ?

-Andi
> config HWPOISON_INJECT
> - tristate "Poison pages injector"
> + tristate "HWPoison pages injector"
> depends on MEMORY_FAILURE && DEBUG_KERNEL
> + depends on CGROUP_MEM_RES_CTLR_SWAP

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/