The OpenZFS zfs.ko is quite large on amd64; its .text section weighs in
at 2.5MB. However, we are mapping it using 4KB pages. This change is
enough to ensure that the first 2MB (.text) are mapped using a
superpage. I don't believe we need to make the colouring conditional on
the object size.
No change is needed for ET_DYN objects, they already get mapped using
superpages when possible, at least by default when SPARSE_MAPPING is not
defined.
We could go further and use the kernel module linker script to pad
sufficiently large .text sections to a 2MB boundary, at the cost of
wasting some memory.