Re: [PATCH] Re: crc32 and lib.a (was Re: [PATCH] nbd in 2.5.3 does

David Woodhouse (dwmw2@infradead.org)
Fri, 01 Feb 2002 16:08:49 +0000


vandrove@vc.cvut.cz said:
> I decided to use fs_initcall level, as nobody is using this yet. If
> jffs2 will get initialized by fs_initcall, we'll have to switch
> init_crc32 from fs_initcall to arch_initcall or even sooner - crc32
> initialization needs only working kmalloc, nothing else (and it could
> use static buffer happilly, as zeroes compress very good), so
> subsys_initcall could work too.

JFFS2 won't actually use the crc32 routines till it tries to mount a file
system, so you shouldn't have a problem unless you try to mount the rootfs
before init_crc32().

--
dwmw2

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/