Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 1998 23:05:22 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Julian Elischer <julian@whistle.com>
Cc:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, current@FreeBSD.ORG
Subject:   Re: SMP kernels... how many processes can be in ? 
Message-ID:  <199807300605.XAA00317@antipodes.cdrom.com>
In-Reply-To: Your message of "Wed, 29 Jul 1998 20:35:27 PDT." <Pine.BSF.3.95.980729203117.9088I-100000@current1.whistle.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> This is effectlively what Luigi did with his 'flow pointer'
> however it probably should be an extensible scheme
> so that new 'hacks' can be added to the system and make use of it.
> the trouble with just using a pointer to something is that the something
> needs to be freed some time. and it may need to be allocated at unknown
> spl etc. 
> 
> Luigi found that there were a lot of places tha had to be hackedto know
> about the new pointer.

Don't point to it from the mbuf, put it in the mbuf.  Use a cluster if 
you like.  Call it "in-band signalling".  8)

> julian
> 
> 
> 
> On Tue, 28 Jul 1998, Garrett Wollman wrote:
> 
> > <<On Mon, 27 Jul 1998 16:55:58 -0700 (PDT), Julian Elischer <julian@whistle.com> said:
> > 
> > > trouble is that there needs to be some place to store data
> > > on a 'packet by packet' basis, The data is generated at one point in
> > > processing and needed at another..
> > 
> > Stick it in the (mbuf) packet header.  If it's too big, stick a
> > pointer to it in the packet header.
> > 
> > -GAWollman
> > 
> > --
> > Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
> > wollman@lcs.mit.edu  | O Siem / The fires of freedom 
> > Opinions not those of| Dance in the burning flame
> > MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick
> > 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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