Fault injection and unexpected requirement injection
Sripathi Kodi recently posted a patch adding certain types of futex failures to the fault injection framework. Ingo Molnar responded with a potentially surprising request:
This "unacceptably ugly" interface has existed as part of the fault injection framework since 2006, so it is a little surprising to hear, now, that it cannot be used. Ingo is firm about this point, though, and appears unwilling to back down.
Extending perf events for fault injection might be the right long-term solution. But this situation highlights a trap for developers which certainly acts to make participation in the development process harder. In his travels, your editor has heard complaints from developers who set out to accomplish a specific task, only to be told that they must undertake a much larger cleanup to get their code merged. The topic also came up at the 2009 kernel summit; there, the consensus seemed to be that this kind of request can quickly become unreasonable.
In this case, Sripathi has not been asked to fix the remainder of the fault
injection framework code. But adding a new functionality to the perf
events subsystem still likely goes rather beyond the scope of the original
project. Sripathi has not responded to this request, so it's not clear
whether we'll see a futex fault injection mechanism reworked to fit the new
requirements, or whether this code will just fade away.
| Index entries for this article | |
|---|---|
| Kernel | Development model |
