[Date Prev][Date Next] [Chronological] [Thread] [Top]

Client Library in the Kernel (ITS#576)



This is a MIME message. If you are reading this text, you may want to 
consider changing to a mail reader or gateway that understands how to 
properly handle MIME multipart messages.

--=_396133DF.6C0DA2A2
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable


Full_Name: Alan Clark
Version: devel
OS: Linux / NetWare / WinNT
URL: ftp://ftp.openldap.org/incoming/aclark-000607

This enhancement allows the client library to run in the Kernel.

When running as part of the kernel, the global options structure cannot be
statically allocated because changes to global options affects all uses of =
the
api, not just the calling thread or process.  Thus, the global options =
must be
allocated dynamically for each thread or process that uses it.  This patch =
implements
that framework.  We are using the #define LIBRARY_IN_KERNEL to control the
compilation of this feature.  We are using this feature in our system.

-Alan Clark
Manager
Novell Directory Services

--=_396133DF.6C0DA2A2
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" http-equiv=3DContent-Type=
>
<META content=3D"MSHTML 5.00.2014.210" name=3DGENERATOR></HEAD>
<BODY style=3D"FONT: 8pt MS Sans Serif; MARGIN-LEFT: 2px; MARGIN-TOP: =
2px">
<DIV><BR>Full_Name: Alan Clark<BR>Version: devel<BR>OS: Linux / NetWare =
/=20
WinNT<BR>URL: <A=20
href=3D"ftp://ftp.openldap.org/incoming/aclark-000607";>ftp://ftp.openldap.o=
rg/incoming/aclark-000607</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>This enhancement allows the client library to run in the Kernel.</DIV>=

<DIV>&nbsp;</DIV>
<DIV>When running as part of&nbsp;the kernel, the global options =
structure=20
cannot be</DIV>
<DIV>statically allocated because changes to global options affects all =
uses of=20
the</DIV>
<DIV>api, not just the calling thread or process.&nbsp; Thus, the global =
options=20
must be</DIV>
<DIV>allocated dynamically for each thread or process that uses it.&nbsp; =
This=20
patch implements</DIV>
<DIV>that framework.&nbsp; We are using the #define LIBRARY_IN_KERNEL to =
control=20
the</DIV>
<DIV>compilation of this feature.&nbsp; We are using this feature in =
our=20
system.</DIV>
<DIV>&nbsp;</DIV>
<DIV>-Alan Clark</DIV>
<DIV>Manager</DIV>
<DIV>Novell Directory Services</DIV></BODY></HTML>

--=_396133DF.6C0DA2A2--