Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2007 11:15:57 +0100
From:      Lee Brotherston <lee@nerds.org.uk>
To:        freebsd-smp@freebsd.org
Subject:   Pfil and SMP
Message-ID:  <20070723101557.GE63302@nerds.org.uk>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hi,

Apologies if this is an area which has been covered somewhere, but my
google skills don't seem to have uncovered it.

I am working with the pfil interface and use pfil_add_hook to process
or drop a number of packets.  However as my test equipment is only
single processor I have been unable to test in an SMP environment.
So, the crux of my query is...

Does the SMP setup in FreeBSD 6.x & 7.x, leave the possibility that
the two instances of the function named in the pfil_add_hook call, may
be running at once?  Or is there some kind of locking which prevents
this?  My reason for asking is that there is a state table which I do
not want altering in two places at once, and so I will impliment
internal locks.

(If possible I'd appreciate being CC'd on replies as I'm not currently
subscribed).

Many thanks

  Lee

-- 
Lee Brotherston - <lee@nerds.org.uk>

[-- Attachment #2 --]
0	*H
010	+0	*H
!00CD/sݮeo0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
070324075958Z
080323075958Z0B10UThawte Freemail Member10	*H
	lee@nerds.org.uk0"0
	*H
0
#@OXQ)wVr)%of3C|?Qx|e
{҃geT $WѭoShHbrѶŕ8ոNKD+*8r8+Zyu<
:6,ON_&KČ9CYA?r¸k^~Ńw8}Um?猿)e,Mф	MR2fG#c'-0+0U0lee@nerds.org.uk0U00
	*H
)-9׸q<ߨa
y<	'"Ǟ8ųd/fBH^,ƾ^ǯr#w&4e2_8Dc|1b|_($^tI9plo2HӶf0?0
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
	*H
HP.
fgCL!6-6/P p<ab:~t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1Q0M0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAD/sݮeo0	+0	*H
	1	*H
0	*H
	1
070723101557Z0#	*H
	1P*zJ
Mt~˂\0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0
	*H
LU\DǸq%6f/{εmd˅u:#HpP>\|!GTfrgCm6A?{Õ)(}mC;۹q"oXΖySMЇ<:kn%
:?U!>2~a'texS@뿀@yH|ߢy
I>xvմ'WIkTƐk@m:Mjs
home | help

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