lkml.org 
[lkml]   [2016]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: aio: questions with ioctx_alloc() and large num_possible_cpus()
From
Date
Ben,

On 10/05/2016 03:17 PM, Benjamin LaHaise wrote:
> Anything's possible when a local user can run code. [snip] That
> said, local users tend not to DoS themselves.

Agree. I thought of something that could be particularly related to
the aio implementation; but I guess there's nothing so special then.

> [snip] It probably makes
> sense to implement per-user limits rather than the current global limit,
> and maybe even convert them to an rlimit to better fit in with the
> available frameworks for managing these things.

I see it would be a nice improvement, but unfortunately that's not a
task that I can take at the moment. For now, the most I'm able to do
is to continue to try to understand whether there's something we can
do that may help the small nr_events case to be more on par with the
large nr_events case.. or any other beginner-level fixes to the area. :)

Thanks again,

--
Mauricio Faria de Oliveira
IBM Linux Technology Center

\
 
 \ /
  Last update: 2016-10-05 21:23    [W:1.235 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site