Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2007 00:25:26 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Ken Smith <kensmith@cse.Buffalo.EDU>
Cc:        Kostik Belousov <kostikbel@gmail.com>, Roman Divacky <rdivacky@FreeBSD.org>, perforce@FreeBSD.org, re@FreeBSD.org, Jung-uk Kim <jkim@FreeBSD.org>
Subject:   Re: PERFORCE change 124529 for review
Message-ID:  <20070829002526.683ab550@deskjail>
In-Reply-To: <1188250515.12837.4.camel@neo.cse.buffalo.edu>
References:  <200708021130.l72BUHrY077198@repoman.freebsd.org> <200708271416.08455.jkim@FreeBSD.org> <1188241044.56896.46.camel@opus.cse.buffalo.edu> <200708271723.56871.jkim@FreeBSD.org> <1188250515.12837.4.camel@neo.cse.buffalo.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Ken Smith <kensmith@cse.Buffalo.EDU> (Mon, 27 Aug 2007 17:35:15 -0400):

> On Mon, 2007-08-27 at 17:23 -0400, Jung-uk Kim wrote:
> 
> > You missed actual syscall entry point:
> > 
> > http://lxr.linux.no/source/kernel/sched.c#L4542
> > 
> > It actually returns sizeof(cpumask_t). ;-)
> > 
> > Jung-uk Kim
> 
> There we go.  Sorry, I don't go looking through Linux much and I missed
> the real target.  Thanks (and to Roman too).
> 
> Patch approved.  Thanks for your patience/guidance.

Maybe I'm a little bit late... what will be the runtime result of this
patch be for 2.4.2 based linux programs in case they want to use this?

I don't know if they are allowed to use this call (= if such a call is
in 2.4.2), so maybe the answer is as simple as "they don't use it".

If the answer is something similar to "we are in trouble then", I
suggest to return ENOSYS in case of non 2.6.x emulation (we already
have infrastructure for this, so it's just checking a boolean value).

Bye,
Alexander.

-- 
If some people didn't tell you,
you'd never know they'd been away on vacation.
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070829002526.683ab550>