[Cbe-oss-dev] [FYI] spufs: one more fix for 64k pages

Arnd Bergmann arnd at arndb.de
Wed Apr 12 02:36:05 EST 2006


The SPU context save/restore code is currently built
for a 4k page size and we provide a _shipped version
of it since most people don't have the spu toolchain
that is needed to rebuild that code.

This patch hardcodes the data structures to a 64k
page alignment, which also guarantees 4k alignment
but unfortunately wastes 60k of memory per SPU
context that is created in the running system.

We will follow up on this with another patch to
reduce that overhead or maybe redo the context
save/restore logic to do this part entirely different,
but for now it should make experimental systems
work with either page size.

Signed-off-by: Arnd Bergmann <arnd.bergmann at de.ibm.com>

---

compressed patch to get over 40kb size limit of the mailing list,
almost all of it because of generated files.
We should probably make that the default limit 100kb like on vger ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spufs-64k-csa.diff.gz
Type: application/x-gzip
Size: 4569 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/cbe-oss-dev/attachments/20060411/c08237ce/attachment.bin>


More information about the cbe-oss-dev mailing list