Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1496010

Re: aio: questions with ioctx_alloc() and large num_possible_cpus()

From Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: aio: questions with ioctx_alloc() and large num_possible_cpus()
Date 2016-10-05 21:30 +0200
Message-ID <sp038-5XR-3@gated-at.bofh.it> (permalink)
References <soGQN-xH-13@gated-at.bofh.it> <soYE1-4tz-5@gated-at.bofh.it> <soYE1-4tz-3@gated-at.bofh.it> <soYXo-4WW-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

aio: questions with ioctx_alloc() and large num_possible_cpus() Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com> - 2016-10-05 01:00 +0200
  Re: aio: questions with ioctx_alloc() and large num_possible_cpus() Kent Overstreet <kent.overstreet@gmail.com> - 2016-10-05 08:40 +0200
    Re: aio: questions with ioctx_alloc() and large num_possible_cpus() Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com> - 2016-10-05 19:30 +0200
  Re: aio: questions with ioctx_alloc() and large num_possible_cpus() Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com> - 2016-10-05 20:00 +0200
    Re: aio: questions with ioctx_alloc() and large num_possible_cpus() Benjamin LaHaise <bcrl@kvack.org> - 2016-10-05 20:20 +0200
      Re: aio: questions with ioctx_alloc() and large num_possible_cpus() Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com> - 2016-10-05 21:30 +0200
  Re: aio: questions with ioctx_alloc() and large num_possible_cpus() Benjamin LaHaise <bcrl@kvack.org> - 2016-10-05 20:10 +0200

csiph-web