Re: [RFC v2] Unicode/UTF-8 support for XFS

Ben Myers
2014-09-23T20:45:14Z

Hi Andi,

On Tue, Sep 23, 2014 at 10:15:40PM +0200, Andi Kleen wrote:
> > You only pay the space cost if you use it, similar to the nls tables.
>
> The way Linux module loading works these things are loaded by default,
> not when someone needs it.
>
> So no, you (or rather every unfortunate Linux XFS user) would pay it always,
> unless you black list the module or rebuild the kernel.

The suggestion to use symbol_get was made in response to the initial
post of the series. In my testing the normalization module did not load
until I attempted to mount a filesystem which required it. Seems to
work ok.

See patch 10, "xfs: implement demand load of utf8norm.ko".

Thanks,
Ben