This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFC] multithreaded bfd?
- From: Eric Christopher <echristo at apple dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 25 Jul 2006 23:41:44 -0700
- Subject: Re: [RFC] multithreaded bfd?
- References: <200607260059.k6Q0xkrK002296@greed.delorie.com>
So, what does everyone else think of this kind of idea?
I think it sounds like a good idea. I do think we'll need to do
something other than mmap the object files for this to work well though.
Perhaps moving to an internally allocated set of data structures? i.e.
as each file is read in it's translated to another format and then the
descriptor is freed. This would give the advantage of having each
reading thread do something instead of just I/O while we're beginning
the link step, and we could hopefully free some memory instead of just
mapping the object file into memory.
Just a couple of ideas.. :)
-eric