Re: [PATCH V2] page-types.c: auto debugfs mount for hwpoisonoperation

From: Wu Fengguang
Date: Tue Mar 08 2011 - 02:28:11 EST


On Tue, Mar 08, 2011 at 01:01:09PM +0800, Chen Gong wrote:
> page-types.c doesn't supply a way to specify the debugfs path and
> the original debugfs path is not usual on most machines. This patch
> supplies a way to auto mount debugfs if needed.
>
> This patch is heavily inspired by tools/perf/utils/debugfs.c
>
> Signed-off-by: Chen Gong <gong.chen@xxxxxxxxxxxxxxx>
> ---
> Documentation/vm/page-types.c | 105
> +++++++++++++++++++++++++++++++++++++++--
> 1 files changed, 101 insertions(+), 4 deletions(-)

Thanks!

Reviewed-by: Wu Fengguang <fengguang.wu@xxxxxxxxx>
--
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/