aboutsummaryrefslogtreecommitdiff
path: root/mmalloc/TODO
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1999-04-16 01:35:26 +0000
committerStan Shebs <shebs@codesourcery.com>1999-04-16 01:35:26 +0000
commitc906108c21474dfb4ed285bcc0ac6fe02cd400cc (patch)
treea0015aa5cedc19ccbab307251353a41722a3ae13 /mmalloc/TODO
parentcd946cff9ede3f30935803403f06f6ed30cad136 (diff)
downloadgdb-c906108c21474dfb4ed285bcc0ac6fe02cd400cc.zip
gdb-c906108c21474dfb4ed285bcc0ac6fe02cd400cc.tar.gz
gdb-c906108c21474dfb4ed285bcc0ac6fe02cd400cc.tar.bz2
Initial creation of sourceware repositorygdb-4_18-branchpoint
Diffstat (limited to 'mmalloc/TODO')
-rw-r--r--mmalloc/TODO17
1 files changed, 17 insertions, 0 deletions
diff --git a/mmalloc/TODO b/mmalloc/TODO
new file mode 100644
index 0000000..9412043
--- /dev/null
+++ b/mmalloc/TODO
@@ -0,0 +1,17 @@
+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.