TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mario Semo
from: Mike Bilow
date: 1996-05-29 16:07:24
subject: Toolkit 1.3 from Devcon

Mario Semo wrote in a message to Mike Bilow:

 MS>> For example, for a DosAllocMem call with a size of 1, the 
 MS>> following occurs:

 MS>>       On OS/2 Warp Connect, the system allocates a
 MS>> 4096-byte block of committed memory.
 MS>>       On OS/2 Warp, the system allocates a 4096-byte 
 MS>> block of committed memory plus 61440 bytes without 
 MS>> attributes.

 MB> That's not just wrong, but absurd.  With FixPack 5 or later 
 MB> applied, OS/2 Warp and OS/2 Warp Connect are running 
 MB> exactly identical kernels.

 MS> then you should write an error report to IBM. they changed
 MS> to DosAllocMem docu AFTER devcon 8 to read as above. (the
 MS> above is a cut&paste from the OS/2 WARP toolkit from DevCon9
 MS> / DevCon10). The docu from OS/2 toolkit 2.0 till WARP
 MS> toolkit on DevCon8 says somewthing else (that 4K pages are
 MS> allocated). 

I didn't mean that by way of picking a fight with you, but I can assure you
that OS/2 does not even allocate address space when such allocations are
requested.  You can watch this inside a device driver, and you see that the
segment limits are set to the actual allocated amount in the descriptor
table. I have never seen different behavior under any version of OS/2.
 
-- Mike


--- 
* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107)
SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1
@PATH: 323/107 396/1 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.