login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
28
Re: [PATCH 00/59] Introduce credentials
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Paul E. McKenney
Subject:
Re: [PATCH 00/59] Introduce credentials
Date: Thursday, August 28, 2008 - 1:28 pm
On Thu, Aug 28, 2008 at 10:45:03AM +0100, Alan Cox wrote:
quoted text
> On Thu, 28 Aug 2008 10:19:44 +0100 > David Howells <dhowells@redhat.com> wrote: > > > Alan Cox <alan@lxorguk.ukuu.org.uk> wrote: > > > > > > We get a number of things: > > > > > > > > (1) Multiple credential changes all happen simultaneously (setresuid() for > > > > example). The new set of credentials is committed with a single RCU > > > > assignment. > > > > > > Makes sense - except for the question of bounding memory utilisation. > > > > 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. > > I suspect you to - or every "nth" event - building up a small queue as > would occur in normal usage probably isn't a problem.
Makes sense to me, given that we should not expect real-time determinism out of alter_credentials(). ;-) Thanx, Paul --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: [PATCH 00/59] Introduce credentials
, Alan Cox
, (Wed Aug 27, 6:33 am)
[PATCH 00/59] Introduce credentials
, David Howells
, (Wed Aug 27, 6:45 am)
[PATCH 01/59] CRED: Wrap task credential accesses in the I ...
, David Howells
, (Wed Aug 27, 6:45 am)
[PATCH 02/59] CRED: Wrap task credential accesses in the M ...
, David Howells
, (Wed Aug 27, 6:45 am)
[PATCH 03/59] CRED: Wrap task credential accesses in the P ...
, David Howells
, (Wed Aug 27, 6:45 am)
[PATCH 04/59] CRED: Wrap task credential accesses in the P ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 05/59] CRED: Wrap task credential accesses in the S ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 06/59] CRED: Wrap task credential accesses in the x ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 07/59] CRED: Wrap task credential accesses in the b ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 08/59] CRED: Wrap task credential accesses in the t ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 09/59] CRED: Wrap task credential accesses in the D ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 10/59] CRED: Wrap task credential accesses in the I ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 11/59] CRED: Wrap task credential accesses in video ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 12/59] CRED: Wrap task credential accesses in the n ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 13/59] CRED: Wrap task credential accesses in the U ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 14/59] CRED: Wrap task credential accesses in 9P200 ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 15/59] CRED: Wrap task credential accesses in the A ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 16/59] CRED: Wrap task credential accesses in the a ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 17/59] CRED: Wrap task credential accesses in the a ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 18/59] CRED: Wrap task credential accesses in the B ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 19/59] CRED: Wrap task credential accesses in the C ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 20/59] CRED: Wrap task credential accesses in the C ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 21/59] CRED: Wrap task credential accesses in the d ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 22/59] CRED: Wrap task credential accesses in the e ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 23/59] CRED: Wrap task credential accesses in the E ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 24/59] CRED: Wrap task credential accesses in the E ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 25/59] CRED: Wrap task credential accesses in the E ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 26/59] CRED: Wrap task credential accesses in the F ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 27/59] CRED: Wrap task credential accesses in the F ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 28/59] CRED: Wrap task credential accesses in the G ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 29/59] CRED: Wrap task credential accesses in the H ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 30/59] CRED: Wrap task credential accesses in the H ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 31/59] CRED: Wrap task credential accesses in the H ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 32/59] CRED: Wrap task credential accesses in the h ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 33/59] CRED: Wrap task credential accesses in the J ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 34/59] CRED: Wrap task credential accesses in the J ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 35/59] CRED: Wrap task credential accesses in the M ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 36/59] CRED: Wrap task credential accesses in the N ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 37/59] CRED: Wrap task credential accesses in the N ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 38/59] CRED: Wrap task credential accesses in the O ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 39/59] CRED: Wrap task credential accesses in the O ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 40/59] CRED: Wrap task credential accesses in the R ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 41/59] CRED: Wrap task credential accesses in the R ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 42/59] CRED: Wrap task credential accesses in the S ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 43/59] CRED: Wrap task credential accesses in the S ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 44/59] CRED: Wrap task credential accesses in the U ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 45/59] CRED: Wrap task credential accesses in the U ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 46/59] CRED: Wrap task credential accesses in the U ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 47/59] CRED: Wrap task credential accesses in the X ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 48/59] CRED: Wrap task credential accesses in the f ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 49/59] CRED: Wrap task credential accesses in the S ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 50/59] CRED: Wrap task credential accesses in the A ...
, David Howells
, (Wed Aug 27, 6:50 am)
[PATCH 51/59] CRED: Wrap task credential accesses in the I ...
, David Howells
, (Wed Aug 27, 6:50 am)
[PATCH 52/59] CRED: Wrap task credential accesses in the n ...
, David Howells
, (Wed Aug 27, 6:50 am)
[PATCH 53/59] CRED: Wrap task credential accesses in the R ...
, David Howells
, (Wed Aug 27, 6:50 am)
[PATCH 54/59] CRED: Wrap task credential accesses in the S ...
, David Howells
, (Wed Aug 27, 6:50 am)
[PATCH 55/59] CRED: Wrap task credential accesses in the U ...
, David Howells
, (Wed Aug 27, 6:50 am)
[PATCH 56/59] CRED: Wrap task credential accesses in the n ...
, David Howells
, (Wed Aug 27, 6:50 am)
[PATCH 57/59] CRED: Wrap task credential accesses in the k ...
, David Howells
, (Wed Aug 27, 6:50 am)
[PATCH 58/59] CRED: Wrap task credential accesses in the c ...
, David Howells
, (Wed Aug 27, 6:50 am)
[PATCH 59/59] CRED: Wrap task credential accesses in the c ...
, David Howells
, (Wed Aug 27, 6:50 am)
Re: [PATCH 26/59] CRED: Wrap task credential accesses in t ...
, OGAWA Hirofumi
, (Wed Aug 27, 7:12 am)
Re: [PATCH 00/59] Introduce credentials
, David Howells
, (Wed Aug 27, 7:24 am)
Re: [PATCH 34/59] CRED: Wrap task credential accesses in t ...
, Dave Kleikamp
, (Wed Aug 27, 7:31 am)
Re: [PATCH 45/59] CRED: Wrap task credential accesses in t ...
, Jan Kara
, (Wed Aug 27, 7:44 am)
Re: [PATCH 01/59] CRED: Wrap task credential accesses in t ...
, Artem Bityutskiy
, (Wed Aug 27, 7:55 am)
Re: [PATCH 01/59] CRED: Wrap task credential accesses in t ...
, David Howells
, (Wed Aug 27, 8:24 am)
Re: [PATCH 00/59] Introduce credentials
, Alan Cox
, (Wed Aug 27, 9:39 am)
Re: [PATCH 10/59] CRED: Wrap task credential accesses in t ...
, Karsten Keil
, (Wed Aug 27, 10:51 am)
Re: [PATCH 03/59] CRED: Wrap task credential accesses in t ...
, Kyle McMartin
, (Wed Aug 27, 3:19 pm)
Re: [PATCH 38/59] CRED: Wrap task credential accesses in t ...
, Mark Fasheh
, (Wed Aug 27, 4:04 pm)
Re: [PATCH 01/59] CRED: Wrap task credential accesses in t ...
, Stephen Rothwell
, (Wed Aug 27, 4:21 pm)
Re: [PATCH 04/59] CRED: Wrap task credential accesses in t ...
, Benjamin Herrenschmidt
, (Wed Aug 27, 4:45 pm)
Re: [PATCH 00/59] Introduce credentials
, David Howells
, (Thu Aug 28, 2:19 am)
Re: [PATCH 00/59] Introduce credentials
, Alan Cox
, (Thu Aug 28, 2:45 am)
Re: [PATCH 14/59] CRED: Wrap task credential accesses in 9 ...
, Eric Van Hensbergen
, (Thu Aug 28, 10:59 am)
Re: [PATCH 00/59] Introduce credentials
, Paul E. McKenney
, (Thu Aug 28, 1:28 pm)
Re: [PATCH 11/59] CRED: Wrap task credential accesses in v ...
, Mauro Carvalho Chehab
, (Fri Aug 29, 3:32 pm)
Re: [PATCH 09/59] CRED: Wrap task credential accesses in t ...
, Dave Airlie
, (Mon Sep 1, 6:03 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Michael Trimarchi
Re: [PATCH] VFS: make file->f_pos access atomic on 32bit arch
Miklos Szeredi
[patch 14/15] vfs: more path_permission() conversions
Serge E. Hallyn
Re: [RFC v5][PATCH 7/8] Infrastructure for shared objects
Bernd Schmidt
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Takashi Iwai
[PATCH 2/2] input: Add LED support to Synaptics device
git
:
Junio C Hamano
Re: mingw, windows, crlf/lf, and git
Eyvind Bernhardsen
Re: Where has "git ls-remote" reference pattern matching gone?
Shawn O. Pearce
Re: Switching from CVS to GIT
Todd Zullinger
Re: [PATCH 2/2] send-email: rfc2047-quote subject lines with non-ascii characters
Santi Béjar
Re: How to use git-fmt-merge-msg?
linux-netdev
:
Ramkrishna Vepa
[net-2.6 PATCH 1/10] Neterion: New driver: Driver help file
Mark Anthony
invitation / inquiry
Ingo Molnar
Re: [PATCH 08/16] dma-debug: add core checking functions
David Miller
Re: [PATCH 1/3] f_phonet: dev_kfree_skb instead of dev_kfree_skb_any in TX callback
Sascha Hauer
[PATCH 03/12] fec: do not typedef struct types
git-commits-head
:
Linux Kernel Mailing List
amba: struct device - replace bus_id with dev_name(), dev_set_name()
Linux Kernel Mailing List
MIPS: Yosemite: Convert SMP startup lock to arch spinlock.
Linux Kernel Mailing List
ARM: S5PC100: IRQ and timer
Linux Kernel Mailing List
davinci: edma: clear interrupt status for interrupt enabled channels only
Linux Kernel Mailing List
x86, mm, kprobes: fault.c, simplify notify_page_fault()
openbsd-misc
:
Daniel A. Ramaley
Re: [semi-OT] Can anyone recommend an OpenBSD-compatible colour laser printer?
Matthias Kilian
Re: can't get vesa @ 1280x800 or nv
Tobias Ulmer
Re: Problem after upgrade 4.5 to 4.6: ERR M
Philip Guenther
Re: SIGCHLD and libpthread.so
J.C. Roberts
Re: [semi-OT] Can anyone recommend an OpenBSD-compatible colour laser printer?
Colocation donated by:
Syndicate