How long would vmalloc_sync_all take with a few thousand mm_struct take?
We share the pmds, yes? So it's a few thousand memory accesses. The
direct impact is probably negligible, compared to actually loading the
module from disk. All we need is to make sure the locking doesn't slow
down unrelated stuff.
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.
--