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

From: Alan Cox
Date: Thu Jun 07 2007 - 06:01:13 EST


> This has nothing to do with linking and ABI. The assumptions about

It may not to someone who has their head in linkers all day and very
defined ideas about linkers but joining to pieces of code together and
figuring out if they can be combined is "linking", regardless of the
whether-they-can-be-joined being down to symbol availability, instruction
set, memory layout or assumptions about behaviour.

> continuous allocation are part of the API. It's required by POSIX and
> provided by Unix since the early days. There are entire code bases out
> there which depend on this assumption. Linking with code like this,
> before or after the new version controlled symbol is introduced, will
> break it.

If your linker is doing its job then you won't be able to link them
together because they have incompatible assumptions. Not exactly rocket
science even if it is done a little differently to the usual symbol
compatibility tests.

> Policies or stateful behavior, however yo want to call it, is
> just plain wrong for this (and most other things).

And the stuff you are trying to put into the kernel is better ? No, its a
bunch of ugly hacks caused by trying to solve the problem in the wrong
way and in the wrong place.

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