public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: josef höök <josef.hook@arrowhead.se>
To: linux-kernel@vger.kernel.org
Subject: Re: ANNOUNCE: Linux Kernel ORB: kORBit
Date: Thu, 14 Dec 2000 10:23:15 +0100	[thread overview]
Message-ID: <3A389183.41AEB0B4@arrowhead.se> (raw)
In-Reply-To: <Pine.LNX.4.21.0012132133190.24718-100000@www.nondot.org>

Chris Lattner wrote:

> > > Err shame on you, don't forget about lcall and exceptions, and interrupts,
> > > and... That is technically more than _o_n_e_ "entry point".  :)  Oh wait,
> > > what about sysenter/exit too? :)
> > OK, you got me on lcall (however, that's iBCS-only, IIRC), but the rest...
> > what the hell does userland to interrupts? <thinks> OK, make it 2 - pagefault
> > can be arguably used in that way.
>
> The reason that I considered exceptions and interrupts is that often,
> exceptions get reflected as signals to the running processes (SIGSEGV,
> SIGFPE, SIGILL, others?), and interrupts can wake up processes (from
> sys_poll among others).  I was considering more of the user->kernel and
> kernel->user transitions... anyways, that's really besides the point.  :)
>
> > > this wonderful design we get all kinds of stuff like sys_oldumount vs
> > > sys_umount and others...
> > Check how often anything uses the majority of that stuff...
>
> Correct, it's for backwards compatibility with old programs (for example
> libc5 uses a lot of those "old" syscalls).
>
> > > > Yes, standard RPC mechanism would be nice. No, CORBA is not a good
> > candidate - > > too baroque and actually known to lead to extremely
> > tasteless APIs being > > implemented over it. Yes, I mean GNOME. So
>
> > Check 9P and compare. Really. Section 5 of Plan 9 manpages. Available on
> > plan-9.bell-labs.com/sys/man/
>
> That's fine.  Since the server is down (or the URL is bad), can you please
> give me an example of how 9P is better than CORBA?  I freely admit to not
> knowing much about 9P... how much do you know about CORBA (aside from
> your opinion that GNOME uses it, and therefore it is bad. ;)?
>
> > > without breaking backwards compatibility).  Please don't tell me that OOP
> > > is bad... or else we will have the eviscerate the VFS layer from the
> > > kernel (amount other subsystems)... :)
>
> > OOP is a nice tool. However, it's a tool that has incredible potential of
> > shooting one's foot. It's wonderful if you have sane set of methods. And
> > that's a _big_ if. "Easily extensible" is not an absolutely good thing -
> > C++ wankers all over the world are busily proving it every day. Heck, they
> > make a living out of that. IOW, the problem with interface changes is _not_
> > in converting the old code. It's in choosing the right changes. And that
> > part of the game can't be simplified.
>
> Oif.  That's like telling someone that C is evil because it has for loops,
> and for loops can be used to write nasty code.  "just write in
> assembler" he says.  :)  I would claim that someone could write a bad
> program (or shoot themselves in the foot) with any turing complete
> language.  C++ definately give you more rope to do that with, but used
> wisely, it can also be nice.  The trick is to just not have to work with
> other peoples C++ code.  :)  Hey, did I mention that kORBit and all its
> extensions are written in C? :)
>
> > > Like I mentioned in a previous email, CORBA does not preclude 9P.  What
> > > it does buy you though, is compatibility with LOTS of preexisting CORBA
> > > tools.  How much development infrastructure is there for 9P?  I thought
> > > so.  :)
>
> > All UNIX userland on the client side. lib9p on the server side (23Kb of sparse
> > C). Examples of use in servers - see the aforementioned site.
>
> Err... yeah, so you're effectively mapping UNIX/POSIX across 9P.  That's
> not very creative, and you could do the same thing with CORBA.  I ask
> again, "How much development infrastructure is there for 9P?".  If you say
> "just use unix", then what is the point of 9P at all?  (on linux).  Linux
> already has most of posix (and some would claim all of the "good
> stuff" in posix.).

Plan9 aint unix/posix though it has its Ape environment.
What we do need to look at is a good implementation for distributed resources.
The ideal would bee getting 9P and IL into linux. Think of having thousand of small

linux boxes dedicated to either run as a CPU server or a Fileserver or whatever
service there is.
kOrbit is good idea in theory (havent looked at the code yet) though the drawback
with corba is that is
client/server oriented.The advantage of 9P/IL is that it's a small protocol for
distributing services, objects, devices on a file basis. Different computers can
act as a server or client transparent to the users. 9P is still a client server
protocol in a manner of users and services ( files ) instead of the "old" thinking
of pc's and servers.

/josef

>
>
> > > For one of our demos, we ran a file server on a remote linux box (that we
> > > just had a user account on), mounted it on a kORBit'ized box, and ran
> > > programs on SPARC Solaris that accessed the kORBit'ized linux box's file
> > > syscalls.  If nothing else, it's pretty nifty what you can do in little
> > > code...
> > Duh. And what's new about that?
>
> The "new" part is that our servers were < 100 lines of code each.  Compare
> that to kNFS.  :)
>
> -Chris
>
> http://www.nondot.org/~sabre/os/
> http://www.nondot.org/MagicStats/
> http://korbit.sourceforge.net/
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  parent reply	other threads:[~2000-12-14  9:52 UTC|newest]

Thread overview: 106+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-08 23:10 ANNOUNCE: Linux Kernel ORB: kORBit Chris Lattner
2000-12-09  4:45 ` Ben Ford
2000-12-09  5:00   ` Mohammad A. Haque
2000-12-09  5:39     ` Alexander Viro
2000-12-09 10:34       ` Jamie Lokier
2000-12-14  0:21         ` Chris Lattner
2000-12-14  1:11           ` Alan Cox
2000-12-14  1:48             ` Alexander Viro
2000-12-14  2:53               ` Michael Rothwell
2000-12-14  3:12               ` Chris Lattner
2000-12-14  3:36                 ` Michael Rothwell
2000-12-14 11:46                 ` Michael Livshin
2000-12-14 17:30                   ` Elliot Lee
2000-12-14  4:23               ` Chip Salzenberg
2000-12-14  4:28                 ` Alexander Viro
2000-12-14  4:42                   ` Chip Salzenberg
2000-12-14  4:47                     ` Alexander Viro
2000-12-14  4:52                       ` Chip Salzenberg
2000-12-14  5:15                         ` Alexander Viro
2000-12-14  9:23                           ` Oystein Viggen
2000-12-14  5:22                         ` David Feuer
2000-12-14  8:04                 ` josef höök
2000-12-14  8:09                   ` Alexander Viro
2000-12-14 13:53                     ` josef höök
2000-12-14  2:42             ` [Korbit-cvs] " Chris Lattner
2000-12-14  3:08               ` Alexander Viro
2000-12-14  3:19                 ` Chris Lattner
2000-12-14  3:42                   ` Alexander Viro
2000-12-14  3:52                     ` Chris Lattner
2000-12-14  4:24                       ` Alexander Viro
2000-12-14  4:41                         ` CORBA vs 9P Chris Lattner
2000-12-14  4:57                           ` Alexander Viro
2000-12-14  5:04                             ` Chris Lattner
2000-12-14 10:02               ` [Korbit-cvs] Re: ANNOUNCE: Linux Kernel ORB: kORBit Alan Cox
2000-12-14 10:10                 ` Larry McVoy
2000-12-14 17:38                   ` Chris Lattner
2000-12-14 17:33                 ` Chris Lattner
2000-12-14  2:06           ` Alexander Viro
2000-12-14  2:53             ` Chris Lattner
2000-12-14  3:29               ` Alexander Viro
2000-12-14  3:42                 ` Chris Lattner
2000-12-14  4:05                   ` Alexander Viro
2000-12-14  4:14                     ` Chris Lattner
2000-12-14  4:45                       ` Alexander Viro
2000-12-14  5:00                         ` Chris Lattner
2000-12-14  5:56                           ` Alexander Viro
2000-12-14  6:23                             ` [Korbit-cvs] " Chris Lattner
2000-12-14  7:23                               ` Alexander Viro
2000-12-14 18:03                                 ` Chris Lattner
2000-12-14 19:11                                   ` Alexander Viro
2000-12-14 22:10                                     ` [Korbit-cvs] Re: ANNOUNCE: Linux Kernel ORB: kORBit (and ioctl must die!) Mike Coleman
2000-12-14  9:23                   ` josef höök [this message]
2000-12-14  9:30                     ` ANNOUNCE: Linux Kernel ORB: kORBit Larry McVoy
2000-12-14 20:02               ` Pavel Machek
2000-12-15 10:25                 ` josef höök
2000-12-15 15:54                 ` Chris Lattner
2000-12-15 20:10                 ` Mikulas Patocka
2000-12-15 20:26                   ` Pavel Machek
2000-12-15 20:37                     ` Mikulas Patocka
2000-12-15 22:19                   ` Alan Cox
2000-12-16  0:19                     ` Mikulas Patocka
2000-12-18 20:29                       ` Rik van Riel
2000-12-18 20:42                         ` Andrea Arcangeli
2000-12-18 20:48                           ` Rik van Riel
2000-12-18 21:57                             ` Mikulas Patocka
2000-12-19  0:27                               ` Andrea Arcangeli
2000-12-19  8:42                                 ` Mikulas Patocka
2000-12-19  9:30                                   ` Andrea Arcangeli
2000-12-18 21:46                         ` Mikulas Patocka
2000-12-18 22:02                           ` Alan Cox
2000-12-18 22:13                             ` Mikulas Patocka
2000-12-18  8:27                   ` David Ford
2000-12-14 16:34             ` Jamie Lokier
2000-12-14 16:45           ` Rik van Riel
2000-12-14 16:49             ` Chris Lattner
2000-12-14 17:23             ` [Korbit-cvs] " Fredrik Vraalsen
2000-12-14 17:34               ` Jamie Lokier
2000-12-17 23:42               ` Pavel Machek
2000-12-18 20:39                 ` Chris Lattner
2000-12-09 11:59       ` Alan Cox
2000-12-09 12:29         ` Alexander Viro
2000-12-09 15:50           ` Dietmar Kling
2000-12-09 20:59             ` Alan Cox
2000-12-10  2:18               ` Alexander Viro
2000-12-10  2:58                 ` Dietmar Kling
2000-12-10  3:22                   ` David Ford
2000-12-11 13:38                   ` Martin Dalecki
2000-12-11 13:47                     ` J . A . Magallon
2000-12-11 17:48                       ` ANNOUNCE: Linux Kernel ORB: kORBit ( getting off topic) Matthew D. Pitts
2000-12-11 17:18                     ` ANNOUNCE: Linux Kernel ORB: kORBit Alexander Viro
2000-12-11 17:50                       ` Dietmar Kling
2000-12-11 18:53                         ` Alexander Viro
2000-12-11 19:00                           ` Dietmar Kling
2000-12-11 20:21                             ` Alexander Viro
2000-12-09 14:16       ` Alexander Viro
2000-12-12 23:26     ` Chris Lattner
2000-12-13  9:42       ` David Woodhouse
2000-12-14 19:42       ` Pavel Machek
2000-12-09  5:51   ` David Ford
2000-12-10 22:33   ` Pavel Machek
2000-12-11 22:42   ` Michael Rothwell
2000-12-12 15:05     ` josef höök
2000-12-12 15:18       ` Michael Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2000-12-09  0:49 Bernd Eckenfels
2000-12-10  7:56 Bernd Eckenfels
2000-12-14 17:24 Chris Lattner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A389183.41AEB0B4@arrowhead.se \
    --to=josef.hook@arrowhead.se \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox