# Copyright (C) March 2023- Linaro Limited (or its affiliates). All rights reserved.

# Copyright (C) 1995-2023 Arm Limited (or its affiliates). All rights reserved.

# 
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
Things that still need attention:

   *	Make implementation changes necessary to allow multiple processes
	to use the mmalloc managed region simultaneously.  This requires,
	at the minimum, some sort of cooperative locking that ensures that
	only one process at a time is changing any of the mmalloc managed
	data structures (its ok for the mmalloc managed data regions to be
	changed at any time since we don't care about their contents).

   *	In order to support multiple processes using the mmalloc managed
	region, the malloc descriptor needs to be broken into two parts,
	one part which is specific to the given process and is maintained
	separately on a per process basis, and another part which is common
	to all processes.  As an example, the file descriptor is specific
	to a given process, as are the morecore and abortfunc pointers.
	However magic[], the version number, the flags field, etc are
	common to all processes.
