From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) by sourceware.org (Postfix) with ESMTPS id 01FC53857C6D for ; Wed, 11 Nov 2020 10:53:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 01FC53857C6D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cygwin.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=corinna-cygwin@cygwin.com Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Md6dH-1k2diq2r35-00aGc5 for ; Wed, 11 Nov 2020 11:53:31 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id 3B59CA80D03; Wed, 11 Nov 2020 11:53:31 +0100 (CET) Date: Wed, 11 Nov 2020 11:53:31 +0100 From: Corinna Vinschen To: cygwin-developers@cygwin.com Subject: Re: cygheap_types Message-ID: <20201111105331.GI33165@calimero.vinschen.de> Reply-To: cygwin-developers@cygwin.com Mail-Followup-To: cygwin-developers@cygwin.com References: <4dc359c6-f7b3-6df2-20ff-257c693805b1@cornell.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4dc359c6-f7b3-6df2-20ff-257c693805b1@cornell.edu> X-Provags-ID: V03:K1:DEMRnJXQreZXr9Nsa06TcMyNlBw/hBvOuBVerr1toZxYgLjFNVd u5HErX/FRIvEEgC+75D4YkU4wnV9h/d9j5TPuJE+WP45zeCcoKrcJjYo4rOyCleeETg4Kw1 V4ui6DG4LKP8QKvNIMalv+yYHtdh+ZW26Ln+k7R81vv2bv7heAtZU8++MkKql7Xy+s3j3Y4 pJs9gbt0MFp2HbDaKYfGA== X-UI-Out-Filterresults: notjunk:1;V03:K0:yAU1O3yEHJg=:YFYctiNYNgrvB75EhN3vPk RJHa+Rj2WrXT5kVjWgy8FW8pUktiq6hdGUeFNhbZu2YFVlc9org/92RMwK+eHQ3mD8cHrUzFe nkcsN85bTKkDcyYAy7HlIcimVUcT+I+GzCQN8UhtSinsxRyfRw2xO1VgzqpNTrTb5ZNOS9PaK M3E/mc5HOLyaj2X/iwQ0oVWnnxgEhZqIpgY/2XrvlDQmID6HYjBJX1XpEJlGhlXFVB8fzsWGh a27dVOPasWdhPXNu2Xh3QE45vETrSQplLv/SMs7/Do8QNEWhfIeyQou7WsTUr6xNnOdXopty8 w+OlfmHnWulSCYZL8hByBKNlPMeY7fuPtNG8lrCU5arpay1rTookeFPYit+//cSbYuOpn0is3 3S6jiLbowGqcC/rBUyZDfI2XTi0mpoHynlEGZchmp47BfzCUm6PxLYFtfPhzbmq90/6a/Zo1D 13GDIuOSmw== X-Spam-Status: No, score=-100.9 required=5.0 tests=BAYES_00, GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-developers@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2020 10:53:34 -0000 On Nov 10 14:29, Ken Brown via Cygwin-developers wrote: > Can someone explain to me the purpose of cygheap_types? I can't see where > any use is made of the classification of cygheap allocations into different > types, but I'm probably just missing it. The cygheap types have two purposes. Debugging, because the type tells you the original purpose of a cygheap block and, within reason, where it has been allocated. More importantly, they are differently handled in cygheap_fixup_in_child() to handle inheritance of internal data by forked and execed children. Corinna