Skip to content
Snippets Groups Projects
Commit ca89a517 authored by David Woodhouse's avatar David Woodhouse
Browse files

[JFFS2] Finally eliminate __totlen field from struct jffs2_raw_node_ref


Well, almost. We'll actually keep a 'TEST_TOTLEN' macro set for now, and keep
doing some paranoia checks to make sure it's all working correctly. But if
TEST_TOTLEN is unset, the size of struct jffs2_raw_node_ref drops from 16
bytes to 12 on 32-bit machines. That's a saving of about half a megabyte of
memory on the OLPC prototype board, with 125K or so nodes in its 512MiB of
flash.

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 010b06d6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment