lkml.org 
[lkml]   [2015]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Hang on large copy_from_user with PREEMPT_NONE
Date
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.


\
 
 \ /
  Last update: 2015-04-08 03:41    [W:0.087 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site