delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/03/31/18:38:33

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
From: Matt <matt AT use DOT net>
X-Sender: matt AT cesium DOT clock DOT org
To: "Parker, Ron" <rdparker AT butlermfg DOT com>
cc: "'cygwin-developers AT sourceware DOT cygnus DOT com'" <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: Re: Known DLLS (Was: Mo Dejong's install problems)
In-Reply-To: <20000331192811Z2919-28337+5@cesium.clock.org>
Message-ID: <Pine.NEB.4.10.10003311528570.2341-100000@cesium.clock.org>
MIME-Version: 1.0
Date: Fri, 31 Mar 2000 15:38:21 -0800

On Fri, 31 Mar 2000, Parker, Ron wrote:

> > -----Original Message-----
> > From: Mumit Khan [mailto:khan AT NanoTech DOT Wisc DOT EDU]
> <snip>
> 
> > A long time ago, I added Cygwin dll to the "Known DLLs" list, 
> > but I don't
> > remember if I saw any significant improvements. 
> 
> <snip>
> 
> FWIW, Microsoft added a new "feature" to "Known DLLs" with Windows 2000. If
> a file is listed as a "Known DLL" nothing may replace it short of an
> operating system service pack. If you try replacing it, success will be
> reported but nothing will be changed. Microsoft will re-replace it with a
> cached copy that you cannot modify. IMO, this was done to prevent something
> like Windows 2000-lite, once and forever proving that IE is a necessary part
> of the OS. I also love having two copies of 2000+ files on my machine.

KnownDLLs was actually also in NT 4.0. It basically preloads common
shared DLLs so that when processes start up that use them, they will use
the ones already mapped into memory. Because they are prelaoded, startup
times are reduced. You can look at the KnownDLLs list in the Object
Manager namespace using http://www.sysinternals.com/winobj.zip .

What you are referring to in Win2k is "system File Protection". What it
does it prevents non-signed DLLs from overwriting known good DLLs in
specified protected directories, and prevents what some people have
referred to as "DLL Hell". This happens when a
retarded app (like Netscape) installs the MFC42.DLL redistributable from
VC++ 4.2 over your good, y2k compliant, stable one from Service Pack 6.
You can, in fact, configure win2k to not care and to accept such
behaviour. This is a very good thing. I would suggest reading up on it on
msdn.microsoft.com before passing any more judgement.

What KnownDLLs means to cygwin is that if the cygwin DLL is replaced, it
will not be remapped into memory until the next reboot. Whether this
disadvantage outweighs the advantage of faster startup times is
questionable.



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019