Re: [PATCH] s390: Hypervisor File System

From: Jörn Engel
Date: Wed May 03 2006 - 08:34:00 EST


On Wed, 3 May 2006 14:11:36 +0200, Michael Holzheu wrote:
>
> Maybe we need that, too. But I think the advantage of the
> one file solution moves the complexity from the kernel
> to userspace.

Now might be a time to come back to Martin's prediction. ;)

Having a weird format in some file does _not_ move complexity from the
kernel. It may make the userspace more complex, granted. But once
you try to change something, you need to keep the ABI stable. And
part of the ABI is you file format.

Applications will depend on some arcane detail of your format. They
will depend on exactly five spaces in "foo bar". It does not even
matter if you documented "any amount of whitespace". The application
knows that it was five spaces and doesn't care. And once you change
it, the blame will be on you, because you broke existing userspace.

If that does not make the kernel complex, I don't know what does.

Jörn

--
It does not matter how slowly you go, so long as you do not stop.
-- Confucius
-
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/