This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog.64bit cygheap.cc c ...
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: Thu, 04 Apr 2013 11:28:24 +0000
- Subject: src/winsup/cygwin ChangeLog.64bit cygheap.cc c ...
CVSROOT: /cvs/src
Module name: src
Branch: cygwin-64bit-branch
Changes by: corinna@sourceware.org 2013-04-04 11:28:24
Modified files:
winsup/cygwin : ChangeLog.64bit cygheap.cc cygheap.h
Log message:
* cygheap.h (struct _cmalloc_entry): Define b as unsigned rather than
DWORD.
(NBUCKETS): Define here as constant value.
(struct init_cygheap): Add bucket_val member. Define size of bucket_val
and buckets using NBUCKETS.
* cygheap.cc (NBUCKETS): Drop definition here.
(cygheap_init): Initialize cygheap->bucket_val. Add comment to explain
what we do and why.
(_cmalloc): Simplify bit bucket search using cygheap->bucket_val. Drop
local variable sz. Fetch size of block from cygheap->bucket_val.
(_cfree): Define b as unsigned.
(_crealloc): Fetch size of block from cygheap->bucket_val.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.64bit.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.1.2.155&r2=1.1.2.156
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygheap.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.171.2.5&r2=1.171.2.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygheap.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.161.2.7&r2=1.161.2.8