Re: [patch 7/8] fdmap v2 - implement sys_socket2

From: Davide Libenzi
Date: Fri Jun 08 2007 - 20:13:57 EST


On Fri, 8 Jun 2007, Linus Torvalds wrote:

> On Fri, 8 Jun 2007, Davide Libenzi wrote:
> >
> > On Fri, 8 Jun 2007, Linus Torvalds wrote:
> > >
> > > You need things to be *repeatable* for debugging. No ifs, buts, or maybes
> > > about it.
> >
> > It all depends on how you use the file descriptor.
>
> Read what I wrote. "for debugging".
>
> If your code is bug-free, and does what you intend it to do, everything is
> fine. But you wouldn't be doing debugging then, would you?
>
> For debugging, it does _not_ depend on "how you use the file descriptor".
> The whole _point_ is that something does something wrong. Maybe you
> _intended_ to use the file descriptor some way, and the bug was that you
> didn't.

Ok, so what's your idea? Have another POSIX-like allocator somewhere up
there in the fd space, with a fixed and include-defined base?
Or just drop all this altogether?



- Davide


-
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/