Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:Would it make sense to call synchronise_rcu() from commit_creds() or from setuid()/setresuid()/setgroups()/etc. to make sure that some user process doing: while (1) alter_credentials(); doesn't run the system out of memory by having loads of frees waiting in RCU's queues because put_cred() uses call_rcu() to defer the destruction. David --
