]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Revert part of r234723 by re-enabling the SMP protection for
authorAttilio Rao <attilio@FreeBSD.org>
Thu, 3 May 2012 21:44:01 +0000 (21:44 +0000)
committerAttilio Rao <attilio@FreeBSD.org>
Thu, 3 May 2012 21:44:01 +0000 (21:44 +0000)
commitb8be27bf29abde129f366fe17c7765cf2ea1d2d9
treeae4c799ab9e627a002f079ad6c0ae43852579015
parent6fcbac3cd51149858b92d5218500342c86e4e165
Revert part of r234723 by re-enabling the SMP protection for
intr_bind() on x86.
This has been requested by jhb and I strongly disagree with this,
but as long as he is the x86 and interrupt subsystem maintainer I will
follow his directives.

The disagreement cames from what we should really consider as a
public KPI. IMHO, if we really need a selection between the kernel
functions, we may need an explicit protection like _KERNEL_KPI, which
defines which subset of the kernel function might really be considered
as part of the KPI (for thirdy part modules) and which not.
As long as we don't have this mechanism I just consider any possible
function as usable by thirdy part code, thus intr_bind() included.

MFC after: 1 week
sys/amd64/include/intr_machdep.h
sys/i386/include/intr_machdep.h
sys/x86/x86/intr_machdep.c