Re: [PATCH RFC] epoll: limit paths

From: Andrew Morton
Date: Tue Sep 06 2011 - 15:45:25 EST


On Tue, 6 Sep 2011 09:36:41 -0400
Jason Baron <jbaron@xxxxxxxxxx> wrote:

> > I don't think we have any maintained public test code for epoll? And I
> > trust you have some? It would be good if you could merge whatever you
> > have into the main kernel. Then each time we fix bugs or add features,
> > I can harrass people to update the test harness to track the changes.
> >
>
> ok. The tests I've used to test this were:
>
> -pipetest.c: http://www.gelato.unsw.edu.au/archives/linux-ia64/0405/9684.html
> -test I posted in https://lkml.org/lkml/2011/2/25/297
> -test Nelson posted in https://lkml.org/lkml/2011/2/25/297
> -some variations on the above tests
>
> I can clean these up, and try and propose them for merge...also where would
> they live?

We don't have a formal self-test framework in-kernel. Probably much
chin-scratching would precede such a thing. For now I guess you could
follow Steve and use tools/testing/epoll/.

Perhaps you might go as far as to permit one to type "cd tools/testing
; make test" and have it run all the self-tests. Which will consist of
epoll ;)
--
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/