Messages in this thread | | | From | Rusty Russell <> | Subject | Re: Hang on large copy_from_user with PREEMPT_NONE | Date | Tue, 07 Apr 2015 11:19:05 +0930 |
| |
Linus Torvalds <torvalds@linux-foundation.org> writes: > Alternatively, we could just limit module loading size to some (fairly > arbitrary) big number.
Yeah, we used to do that because vmalloc would BUG rather than returning NULL.
But you're already CAP_SYS_MODULE in this path, which kind of makes it hard to care very much about it being slow under virtualization.
Cheers, Rusty.
| |