delorie.com/archives/browse.cgi | search |
From: | jlrubin AT bway DOT net (Josh Rubin) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | wanted: demand zero pages for uninitialized static data |
Date: | Fri, 05 Jun 1998 23:27:19 GMT |
Organization: | ISPNews http://ispnews.com |
Lines: | 16 |
Message-ID: | <35787c8c.2850717@news1.bway.net> |
NNTP-Posting-Host: | dial-violet-27.bway.net |
Mime-Version: | 1.0 |
NNTP-Posting-Date: | 5 Jun 1998 23:27:36 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
I started porting some programs written for a Vax that use large uninitialized static arrays and discovered that the djgpp stub clears the "BSS" section. This causes a lot of paging and slow startup even if the program only uses a small part of the array. This doesn't happen for malloc'ed address space. Is this a matter of a patch to the stub, or does it depend on DPMI features that are not supported by all implementations? Josh Rubin jlrubin AT bway DOT net
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |