[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060919090508.GC24271@miraclelinux.com>
Date: Tue, 19 Sep 2006 17:05:08 +0800
From: Akinobu Mita <mita@...aclelinux.com>
To: Don Mullis <dwm@...r.net>
Cc: linux-kernel@...r.kernel.org, ak@...e.de, akpm@...l.org
Subject: Re: [patch 7/8] process filtering for fault-injection capabilities
On Mon, Sep 18, 2006 at 10:54:51PM -0700, Don Mullis wrote:
> Add functionality to the process_filter variable: A negative argument
> injects failures for only for pid==-process_filter, thereby permitting
> per-process failures from boot time.
>
Is it better to add new filter for this purpose?
Because someone may want to filter by tgid instead of pid.
- positive value is for task->pid
- nevative value is for task->tgid
> Add printk, called upon each failure injection.
>
This printk() will be very useful. But it is better to make
configurable, and the pid is not reliable in interrupt context.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists