[Ffmpeg-devel] Fixed point arithmetic RealAudio G2 (cook) decoder
Michael Niedermayer
michaelni
Tue Mar 13 20:26:18 CET 2007
Hi
On Tue, Mar 13, 2007 at 11:42:30AM -0700, Trent Piepho wrote:
> On Tue, 13 Mar 2007, Michael Niedermayer wrote:
> > > another possible idea is to put table arrays in bss so that they don't
> > > take space on disk (or in memory until they're initialized). this
> > > cleans up the dynamic .so loading issue but doesn't allow memory to be
> > > shared.
> >
> > well actually, the kernel could share them too, it only has to find duplicate
> > pages and mark them as copy on write and shared
>
> Except most tables aren't so kind as to be a multiple of the page size and
> start on a page boundry. You'd probably find your initialized and then
> constant tables shares a page with non-identical data or are not at the
> same offset wrt the page boundries.
well, loading the bss segment at page boundary should do for the situation
discussed
and of course it wont work with tables smaller then the page size but these
are not that important as they are small anyway ...
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070313/ee0fcf16/attachment.pgp>
More information about the ffmpeg-devel
mailing list