Messages in this thread | | | Subject | Re: [RFC] [PATCH 0/2] Futex fault injection | From | Peter Zijlstra <> | Date | Tue, 01 Dec 2009 11:54:43 +0100 |
| |
On Tue, 2009-12-01 at 11:33 +0100, Ingo Molnar wrote: > * Sripathi Kodi <sripathik@in.ibm.com> wrote: > > > Hi, > > > > This patch set adds fault injection for futex subsystem. It adds > > faults at places where reading/writing from user space can return > > EFAULT. This will be useful in testing any significant change to futex > > subsystem. > > Instead of this unacceptably ugly and special-purpose debugfs interface, > please extend perf events to allow event injection. Some other places in > the kernel (which deal with rare events) want/need this capability too.
Thing is, he's using the 'normal' fault injection code to do this, I see no objection to doing that.
If you want to redo the fault injection subsystem, then that's another story, but then we need to convert all of its users over.
| |