login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
March
»
13
Re: [RFC][PATCH 1/7] Resource counters
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Srivatsa Vaddagiri
Subject:
Re: [RFC][PATCH 1/7] Resource counters
Date: Tuesday, March 13, 2007 - 9:07 am
On Tue, Mar 13, 2007 at 06:41:05PM +0300, Pavel Emelianov wrote:
quoted text
> > right, but atomic ops have much less impact on most > > architectures than locks :) > > Right. But atomic_add_unless() is slower as it is > essentially a loop. See my previous letter in this sub-thread.
If I am not mistaken, you shouldn't loop in normal cases, which means it boils down to a atomic_read() + atomic_cmpxch() -- Regards, vatsa -
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:
[RFC][PATCH 0/7] Resource controllers based on process con ...
, Pavel Emelianov
, (Tue Mar 6, 7:42 am)
[RFC][PATCH 1/7] Resource counters
, Pavel Emelianov
, (Tue Mar 6, 7:49 am)
[RFC][PATCH 2/7] RSS controller core
, Pavel Emelianov
, (Tue Mar 6, 7:55 am)
[RFC][PATCH 3/7] Data structures changes for RSS accounting
, Pavel Emelianov
, (Tue Mar 6, 7:58 am)
[RFC][PATCH 4/7] RSS accounting hooks over the code
, Pavel Emelianov
, (Tue Mar 6, 8:00 am)
[RFC][PATCH 5/7] Per-container OOM killer and page reclamation
, Pavel Emelianov
, (Tue Mar 6, 8:03 am)
[RFC][PATCH 6/7] Account for the number of tasks within co ...
, Pavel Emelianov
, (Tue Mar 6, 8:04 am)
[RFC][PATCH 7/7] Account for the number of files opened wi ...
, Pavel Emelianov
, (Tue Mar 6, 8:07 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Andrew Morton
, (Tue Mar 6, 3:00 pm)
Re: [RFC][PATCH 6/7] Account for the number of tasks withi ...
, Paul Menage
, (Tue Mar 6, 7:00 pm)
Re: [RFC][PATCH 0/7] Resource controllers based on process ...
, Paul Menage
, (Tue Mar 6, 7:02 pm)
Re: [RFC][PATCH 1/7] Resource counters
, Balbir Singh
, (Tue Mar 6, 9:03 pm)
Re: [RFC][PATCH 2/7] RSS controller core
, Balbir Singh
, (Tue Mar 6, 10:37 pm)
Re: [RFC][PATCH 0/7] Resource controllers based on process ...
, Balbir Singh
, (Tue Mar 6, 11:52 pm)
Re: [RFC][PATCH 6/7] Account for the number of tasks withi ...
, Pavel Emelianov
, (Wed Mar 7, 12:13 am)
Re: [RFC][PATCH 1/7] Resource counters
, Pavel Emelianov
, (Wed Mar 7, 12:19 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Pavel Emelianov
, (Wed Mar 7, 12:27 am)
Re: [RFC][PATCH 0/7] Resource controllers based on process ...
, Pavel Emelianov
, (Wed Mar 7, 12:30 am)
Re: [RFC][PATCH 0/7] Resource controllers based on process ...
, Pavel Emelianov
, (Wed Mar 7, 12:32 am)
Re: [RFC][PATCH 0/7] Resource controllers based on process ...
, Kirill Korotaev
, (Wed Mar 7, 2:43 am)
Re: [RFC][PATCH 6/7] Account for the number of tasks withi ...
, Paul Menage
, (Thu Mar 8, 6:49 am)
Re: [RFC][PATCH 1/7] Resource counters
, Herbert Poetzl
, (Fri Mar 9, 9:37 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Herbert Poetzl
, (Fri Mar 9, 9:48 am)
Re: [RFC][PATCH 5/7] Per-container OOM killer and page rec ...
, Balbir Singh
, (Fri Mar 9, 2:21 pm)
Re: [RFC][PATCH 6/7] Account for the number of tasks withi ...
, Pavel Emelianov
, (Sun Mar 11, 1:36 am)
Re: [RFC][PATCH 5/7] Per-container OOM killer and page rec ...
, Pavel Emelianov
, (Sun Mar 11, 1:41 am)
Re: [RFC][PATCH 1/7] Resource counters
, Pavel Emelianov
, (Sun Mar 11, 2:01 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Pavel Emelianov
, (Sun Mar 11, 2:08 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Kirill Korotaev
, (Sun Mar 11, 5:26 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Andrew Morton
, (Sun Mar 11, 5:51 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Herbert Poetzl
, (Sun Mar 11, 7:32 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Pavel Emelianov
, (Sun Mar 11, 8:04 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Balbir Singh
, (Sun Mar 11, 8:51 am)
Re: [RFC][PATCH 1/7] Resource counters
, Eric W. Biederman
, (Sun Mar 11, 12:00 pm)
Re: [RFC][PATCH 3/7] Data structures changes for RSS accou ...
, Eric W. Biederman
, (Sun Mar 11, 12:13 pm)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Eric W. Biederman
, (Sun Mar 11, 12:14 pm)
Re: [RFC][PATCH 2/7] RSS controller core
, Eric W. Biederman
, (Sun Mar 11, 12:34 pm)
Re: [RFC][PATCH 2/7] RSS controller core
, Herbert Poetzl
, (Sun Mar 11, 5:41 pm)
Re: [RFC][PATCH 2/7] RSS controller core
, Herbert Poetzl
, (Sun Mar 11, 6:00 pm)
Re: [RFC][PATCH 1/7] Resource counters
, Herbert Poetzl
, (Sun Mar 11, 6:16 pm)
Re: [RFC][PATCH 2/7] RSS controller core
, Pavel Emelianov
, (Mon Mar 12, 1:31 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Pavel Emelianov
, (Mon Mar 12, 2:02 am)
Re: [Devel] Re: [RFC][PATCH 2/7] RSS controller core
, Kirill Korotaev
, (Mon Mar 12, 2:23 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Balbir Singh
, (Mon Mar 12, 2:55 am)
Re: [RFC][PATCH 3/7] Data structures changes for RSS accou ...
, Kirill Korotaev
, (Mon Mar 12, 9:16 am)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Kirill Korotaev
, (Mon Mar 12, 9:23 am)
Re: [RFC][PATCH 3/7] Data structures changes for RSS accou ...
, Dave Hansen
, (Mon Mar 12, 9:48 am)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Dave Hansen
, (Mon Mar 12, 9:50 am)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Kirill Korotaev
, (Mon Mar 12, 10:07 am)
Re: [RFC][PATCH 3/7] Data structures changes for RSS accou ...
, Pavel Emelianov
, (Mon Mar 12, 10:19 am)
Re: [RFC][PATCH 3/7] Data structures changes for RSS accou ...
, Balbir Singh
, (Mon Mar 12, 10:21 am)
Re: [RFC][PATCH 3/7] Data structures changes for RSS accou ...
, Dave Hansen
, (Mon Mar 12, 10:27 am)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Dave Hansen
, (Mon Mar 12, 10:33 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Dave Hansen
, (Mon Mar 12, 11:42 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Herbert Poetzl
, (Mon Mar 12, 2:11 pm)
Re: [RFC][PATCH 2/7] RSS controller core
, Herbert Poetzl
, (Mon Mar 12, 3:41 pm)
Re: [RFC][PATCH 2/7] RSS controller core
, Dave Hansen
, (Mon Mar 12, 4:02 pm)
Re: [RFC][PATCH 2/7] RSS controller core
, Herbert Poetzl
, (Mon Mar 12, 4:43 pm)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Herbert Poetzl
, (Mon Mar 12, 4:54 pm)
Re: [RFC][PATCH 2/7] RSS controller core
, Balbir Singh
, (Mon Mar 12, 6:57 pm)
Re: [RFC][PATCH 2/7] RSS controller core
, Srivatsa Vaddagiri
, (Mon Mar 12, 7:24 pm)
Re: [RFC][PATCH 2/7] RSS controller core
, Andrew Morton
, (Mon Mar 12, 11:04 pm)
Re: [RFC][PATCH 3/7] Data structures changes for RSS accou ...
, Pavel Emelianov
, (Tue Mar 13, 12:10 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Pavel Emelianov
, (Tue Mar 13, 12:17 am)
Re: [RFC][PATCH 1/7] Resource counters
, Eric W. Biederman
, (Tue Mar 13, 2:09 am)
Re: [Devel] Re: [RFC][PATCH 2/7] RSS controller core
, Eric W. Biederman
, (Tue Mar 13, 2:26 am)
Re: [RFC][PATCH 1/7] Resource counters
, Pavel Emelianov
, (Tue Mar 13, 2:27 am)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Eric W. Biederman
, (Tue Mar 13, 2:43 am)
Re: [Devel] Re: [RFC][PATCH 1/7] Resource counters
, Kirill Korotaev
, (Tue Mar 13, 2:49 am)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Eric W. Biederman
, (Tue Mar 13, 2:58 am)
Re: [Devel] Re: [RFC][PATCH 2/7] RSS controller core
, Kirill Korotaev
, (Tue Mar 13, 3:19 am)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Nick Piggin
, (Tue Mar 13, 3:25 am)
Re: [Devel] Re: [RFC][PATCH 2/7] RSS controller core
, Andrew Morton
, (Tue Mar 13, 4:48 am)
Re: [Devel] Re: [RFC][PATCH 2/7] RSS controller core
, Herbert Poetzl
, (Tue Mar 13, 7:59 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Herbert Poetzl
, (Tue Mar 13, 8:05 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Kirill Korotaev
, (Tue Mar 13, 8:10 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Herbert Poetzl
, (Tue Mar 13, 8:11 am)
Re: [RFC][PATCH 1/7] Resource counters
, Herbert Poetzl
, (Tue Mar 13, 8:21 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Pavel Emelianov
, (Tue Mar 13, 8:32 am)
Re: [RFC][PATCH 1/7] Resource counters
, Pavel Emelianov
, (Tue Mar 13, 8:41 am)
Re: [Devel] Re: [RFC][PATCH 2/7] RSS controller core
, Kirill Korotaev
, (Tue Mar 13, 8:43 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Kirill Korotaev
, (Tue Mar 13, 8:54 am)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Eric W. Biederman
, (Tue Mar 13, 9:01 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Herbert Poetzl
, (Tue Mar 13, 9:06 am)
Re: [RFC][PATCH 1/7] Resource counters
, Srivatsa Vaddagiri
, (Tue Mar 13, 9:07 am)
Re: [RFC][PATCH 1/7] Resource counters
, Herbert Poetzl
, (Tue Mar 13, 9:32 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Dave Hansen
, (Tue Mar 13, 10:05 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Dave Hansen
, (Tue Mar 13, 10:26 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Alan Cox
, (Tue Mar 13, 12:09 pm)
Re: [RFC][PATCH 2/7] RSS controller core
, Dave Hansen
, (Tue Mar 13, 1:28 pm)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Nick Piggin
, (Tue Mar 13, 8:51 pm)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Balbir Singh
, (Tue Mar 13, 11:42 pm)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Nick Piggin
, (Tue Mar 13, 11:57 pm)
Re: [RFC][PATCH 1/7] Resource counters
, Pavel Emelianov
, (Wed Mar 14, 12:12 am)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Balbir Singh
, (Wed Mar 14, 12:48 am)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Vaidyanathan Srinivasan
, (Wed Mar 14, 6:25 am)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Nick Piggin
, (Wed Mar 14, 6:49 am)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Vaidyanathan Srinivasan
, (Wed Mar 14, 7:43 am)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Cedric Le Goater
, (Wed Mar 14, 8:37 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Mel Gorman
, (Wed Mar 14, 8:38 am)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Pavel Emelianov
, (Wed Mar 14, 8:45 am)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Kirill Korotaev
, (Wed Mar 14, 9:16 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Mel Gorman
, (Wed Mar 14, 9:47 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Dave Hansen
, (Wed Mar 14, 1:42 pm)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Nick Piggin
, (Wed Mar 14, 10:01 pm)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Balbir Singh
, (Wed Mar 14, 10:44 pm)
Re: [RFC][PATCH 1/7] Resource counters
, Eric W. Biederman
, (Thu Mar 15, 9:51 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Eric W. Biederman
, (Thu Mar 15, 5:55 pm)
Re: [RFC][PATCH 2/7] RSS controller core
, Dave Hansen
, (Fri Mar 16, 9:31 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Eric W. Biederman
, (Fri Mar 16, 11:54 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Dave Hansen
, (Fri Mar 16, 12:46 pm)
Re: [RFC][PATCH 2/7] RSS controller core
, Eric W. Biederman
, (Sun Mar 18, 9:58 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Eric W. Biederman
, (Sun Mar 18, 10:42 am)
Re: [Devel] Re: [RFC][PATCH 2/7] RSS controller core
, Paul Menage
, (Sun Mar 18, 3:44 pm)
Re: [RFC][PATCH 2/7] RSS controller core
, Herbert Poetzl
, (Mon Mar 19, 8:48 am)
Re: [Devel] Re: [RFC][PATCH 2/7] RSS controller core
, Eric W. Biederman
, (Mon Mar 19, 10:41 am)
controlling mmap()'d vs read/write() pages
, Dave Hansen
, (Tue Mar 20, 9:15 am)
Re: [RFC][PATCH 2/7] RSS controller core
, Mel Gorman
, (Tue Mar 20, 11:57 am)
Re: controlling mmap()'d vs read/write() pages
, Eric W. Biederman
, (Tue Mar 20, 2:19 pm)
Re: controlling mmap()'d vs read/write() pages
, Herbert Poetzl
, (Thu Mar 22, 5:51 pm)
Re: controlling mmap()'d vs read/write() pages
, Nick Piggin
, (Thu Mar 22, 10:57 pm)
Re: controlling mmap()'d vs read/write() pages
, Eric W. Biederman
, (Fri Mar 23, 3:12 am)
Re: controlling mmap()'d vs read/write() pages
, Nick Piggin
, (Fri Mar 23, 3:47 am)
Re: controlling mmap()'d vs read/write() pages
, Eric W. Biederman
, (Fri Mar 23, 5:21 am)
Re: controlling mmap()'d vs read/write() pages
, Dave Hansen
, (Fri Mar 23, 9:41 am)
Re: controlling mmap()'d vs read/write() pages
, Herbert Poetzl
, (Fri Mar 23, 11:16 am)
Re: controlling mmap()'d vs read/write() pages
, Nick Piggin
, (Wed Mar 28, 12:33 am)
Re: controlling mmap()'d vs read/write() pages
, Balbir Singh
, (Wed Mar 28, 2:18 am)
Re: [RFC][PATCH 4/7] RSS accounting hooks over the code
, Ethan Solomita
, (Wed Mar 28, 1:15 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Howells
[PATCH] KEYS: Use the variable 'key' in keyctl_describe_key()
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Andy Walls
Re: [PATCH 11/32] v4l/cx18: update workqueue usage
Thomas Gleixner
[patch -mm 19/28] x86_64: Use generic cmos update
Greg Kroah-Hartman
[PATCH 09/36] driver core: register_memory/unregister_memory clean ups and bugfix
git
:
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Johannes Schindelin
Re: error: cannot lock ref 'refs/remotes/origin/*'
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Michael Witten
Re: 'git gc --aggressive' effectively unusable
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
linux-netdev
:
David Miller
Re: [PATCH 32/53] netns xfrm: finding policy in netns
Jean-Louis Dupond
Re: tg3 driver not advertising 1000mbit
Jan Engelhardt
[PATCH 1/3] net: tcp: make hybla selectable as default congestion module
Matt Mackall
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Daniel Schaffrath
Re: tcp bw in 2.6
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB (8018): Add em2860 chip ID
Linux Kernel Mailing List
ipv6: fix an oops when force unload ipv6 module
Linux Kernel Mailing List
imxfb: Fix margin settings
Linux Kernel Mailing List
V4L/DVB (10826): cx88: Add IR support to pcHDTV HD3000 & HD5500
Linux Kernel Mailing List
tracing: protect reader of cmdline output
openbsd-misc
:
Darrin Chandler
Re: That whole "Linux stealing our code" thing
Community First Financial
Teacher A+ Loan
Jan Stary
Re: audio recording levels
Stas Miasnikou
Re: Another question: device naming convention
Andrej Elizarov
Re: Web Browsers
Colocation donated by:
Syndicate