login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
14
Re: [git pull] pull request for writable limits for 2.6.34-rc0
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Jiri Slaby
Subject:
Re: [git pull] pull request for writable limits for 2.6.34-rc0
Date: Wednesday, April 14, 2010 - 2:31 am
On 03/24/2010 06:02 PM, Jiri Slaby wrote:
quoted text
> On 03/21/2010 07:38 PM, Linus Torvalds wrote: >> Or even just _one_ system call that takes two pointers, and can do an >> atomic replace-and-return-the-old-value, like 'sigaction()' does, ie >> something like >> >> int prlimit64(pid, limit, const struct rlimit64 *new, struct rlimit64 *old); >> >> wouldn't that be a nice generic interface? > > Seconded. But should the limits be by default 64-bit even on 32-bit? I > mean: switch 'struct limit' in signal_struct to 'struct rlimit64'? This > would make the limits non-atomic on 32-bit. Oh, they are not already if > reader wants both cur and max without any locks, but I'm not sure now > what implications this will have (I haven't checked compilers, but I > think a store of 00000001 0000000 in place of 00000000 ffffffff may > result in a read of 00000001 ffffffff or alike). Or did I misunderstand you?
Maybe it is a silly question or you was just busy at that time? thanks, -- js --
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:
[PULL] pull request for writable limits for 2.6.33-rc1
, Jiri Slaby
, (Mon Dec 7, 9:52 am)
[PULL] pull request for writable limits for 2.6.33-rc0
, Jiri Slaby
, (Wed Dec 9, 12:25 pm)
[git pull -resend] pull request for writable limits for 2. ...
, Jiri Slaby
, (Fri Dec 11, 4:05 am)
Re: [git pull -resend] pull request for writable limits fo ...
, Jiri Slaby
, (Wed Dec 23, 2:40 am)
Re: [PULL] pull request for writable limits for 2.6.33-rc0
, Jiri Kosina
, (Sat Jan 2, 2:40 pm)
Re: [PULL] pull request for writable limits for 2.6.33-rc0
, Ingo Molnar
, (Sat Jan 2, 2:52 pm)
[PULL] pull request for limits FIXES for 2.6.33-rc
, Jiri Slaby
, (Mon Jan 4, 3:47 am)
[PATCH 1/3] SECURITY: selinux, fix update_rlimit_cpu parameter
, Jiri Slaby
, (Mon Jan 4, 3:48 am)
[PATCH 2/3] resource: move kernel function inside __KERNEL__
, Jiri Slaby
, (Mon Jan 4, 3:48 am)
[PATCH 3/3] resource: add helpers for fetching rlimits
, Jiri Slaby
, (Mon Jan 4, 3:48 am)
Re: [PULL] pull request for writable limits for 2.6.33-rc0
, Jiri Kosina
, (Mon Jan 4, 2:59 pm)
Re: [PATCH 1/3] SECURITY: selinux, fix update_rlimit_cpu p ...
, David Howells
, (Tue Jan 5, 8:50 am)
[git pull] pull request for writable limits for 2.6.34-rc0
, Jiri Slaby
, (Fri Mar 5, 9:53 am)
Re: [git pull] pull request for writable limits for 2.6.34-rc0
, Linus Torvalds
, (Sat Mar 20, 12:20 pm)
Re: [git pull] pull request for writable limits for 2.6.34-rc0
, Neil Horman
, (Sat Mar 20, 6:45 pm)
Re: [git pull] pull request for writable limits for 2.6.34-rc0
, Alexey Dobriyan
, (Sat Mar 20, 11:06 pm)
Re: [git pull] pull request for writable limits for 2.6.34-rc0
, Linus Torvalds
, (Sun Mar 21, 11:38 am)
Re: [git pull] pull request for writable limits for 2.6.34-rc0
, Jiri Slaby
, (Wed Mar 24, 10:02 am)
Re: [git pull] pull request for writable limits for 2.6.34-rc0
, Jiri Slaby
, (Wed Mar 24, 10:04 am)
Re: [git pull] pull request for writable limits for 2.6.34-rc0
, Jiri Slaby
, (Wed Apr 14, 2:31 am)
Resource limits interface proposal [was: pull request for ...
, Jiri Slaby
, (Wed May 5, 5:12 am)
Re: Resource limits interface proposal [was: pull request ...
, Linus Torvalds
, (Wed May 5, 8:08 am)
Re: Resource limits interface proposal [was: pull request ...
, Alexey Dobriyan
, (Wed May 5, 11:39 pm)
Re: Resource limits interface proposal [was: pull request ...
, Linus Torvalds
, (Thu May 6, 8:37 am)
Re: Resource limits interface proposal [was: pull request ...
, Jiri Slaby
, (Thu May 6, 8:46 am)
[PATCH 01/11] rlimits: security, add task_struct to setrlimit
, Jiri Slaby
, (Fri May 7, 1:55 am)
[PATCH 02/11] rlimits: add task_struct to update_rlimit_cpu
, Jiri Slaby
, (Fri May 7, 1:55 am)
[PATCH 03/11] rlimits: make sure ->rlim_max never grows in ...
, Jiri Slaby
, (Fri May 7, 1:55 am)
[PATCH 04/11] rlimits: split sys_setrlimit
, Jiri Slaby
, (Fri May 7, 1:55 am)
[PATCH 05/11] rlimits: allow setrlimit to non-current tasks
, Jiri Slaby
, (Fri May 7, 1:55 am)
[PATCH 06/11] rlimits: do security check under task_lock
, Jiri Slaby
, (Fri May 7, 1:55 am)
[PATCH 07/11] rlimits: add rlimit64 structure
, Jiri Slaby
, (Fri May 7, 1:55 am)
[PATCH 08/11] rlimits: redo do_setrlimit to more generic d ...
, Jiri Slaby
, (Fri May 7, 1:55 am)
[PATCH 09/11] rlimits: switch getrlimit to do_prlimit
, Jiri Slaby
, (Fri May 7, 1:55 am)
[PATCH 09/11] rlimits: switch more rlimit syscalls to do_p ...
, Jiri Slaby
, (Fri May 7, 1:55 am)
[PATCH 10/11] rlimits: implement prlimit64 syscall
, Jiri Slaby
, (Fri May 7, 1:55 am)
[PATCH 11/11] unistd: add __NR_prlimit64 syscall numbers
, Jiri Slaby
, (Fri May 7, 1:55 am)
[PATCH v2 09/11] rlimits: switch more rlimit syscalls to d ...
, Jiri Slaby
, (Fri May 7, 2:02 am)
Re: [PATCH v2 09/11] rlimits: switch more rlimit syscalls ...
, Jiri Slaby
, (Fri May 7, 2:05 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Ingo Molnar
Re: [PATCH v3] x86: merge the simple bitops and move them to bitops.h
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Andi Kleen
Re: - romsignature-checksum-cleanup-2.patch removed from -mm tree
Stefano Stabellini
Re: [PATCH 09/22] xen: Find an unbound irq number in reverse order (high to low).
git
:
Junio C Hamano
Re: Teach "git checkout" to use git-show-ref
Christian Jaeger
Re: Problem with Git.pm bidi_pipe methods
Linus Torvalds
[PATCH 1/7] Make unpack_trees_options bit flags actual bitfields
Jon Smirl
stgit: managing signed-off-by lines
Junio C Hamano
GIT 1.4.3-rc2
git-commits-head
:
Linux Kernel Mailing List
MIPS: Bonito64: Make Loongson independent from Bonito64 code.
Linux Kernel Mailing List
iwlwifi: initialize spinlock before use
Linux Kernel Mailing List
i2c-i801: Add Intel Cougar Point device IDs
Linux Kernel Mailing List
drm/i915: Add information on pinning and fencing to the i915 list debug.
Linux Kernel Mailing List
cirrusfb: GD5434 (aka SD64) support fixed
linux-netdev
:
Gerrit Renker
v2 [PATCH 1/4] dccp: Limit feature negotiation to connection setup phase
Richard Cochran
Re: [PATCH v3 3/3] ptp: Added a clock that uses the eTSEC found on the MPC85xx.
Inaky Perez-Gonzalez
[PATCH 40/40] wimax/i2400m: add CREDITS and MAINTAINERS entries
Sathya Perla
[PATCH net-next-2.6] be2net: add multiple RX queue support
Changli Gao
Re: [PATCH 3/3] ifb: move tq from ifb_private
freebsd-current
:
Boris Samorodov
Re: twa + dump = sbwait
韓家標 Bill Hacker
Re: ZFS honesty
Bjoern A. Zeeb
Re: Can not boot 7.0-BETA3 with IPSEC
rmgls
man usb2_core(4)
Sam Leffler
Re: Lots of "ath0: bad series0 hwrate 0x1b" in 8.0-BETA2
Colocation donated by:
Syndicate