[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110906124507.b62d8158.akpm@linux-foundation.org>
Date: Tue, 6 Sep 2011 12:45:07 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Jason Baron <jbaron@...hat.com>
Cc: davidel@...ilserver.org, nelhage@...lice.com,
torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org,
Steven Rostedt <rostedt@...dmis.org>
Subject: Re: [PATCH RFC] epoll: limit paths
On Tue, 6 Sep 2011 09:36:41 -0400
Jason Baron <jbaron@...hat.com> 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@...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