login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
12
Re: [patch 04/41] cpu ops: Core piece for generic atomic per cpu operations
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Martin Peschke
Subject:
Re: [patch 04/41] cpu ops: Core piece for generic atomic per cpu operations
Date: Thursday, June 12, 2008 - 2:37 am
On Thu, 2008-06-12 at 13:40 +1000, Nick Piggin wrote:
quoted text
> On Thursday 12 June 2008 12:44, Rusty Russell wrote: > > On Thursday 12 June 2008 10:58:01 Nick Piggin wrote: > > > On Thursday 12 June 2008 09:39, Christoph Lameter wrote: > > > > On Wed, 11 Jun 2008, Rusty Russell wrote: > > > > > > 4. The modeling of local_t on atomic_t limits it to 32bit! > > > > > > > > > > Again wrong. And adding an exclamation mark doesn't make it true. > > > > > > > > Ewww ... Its atomic_long_t ahh. Ok then there no 32 bit support. What > > > > about pointers? > > > > > > sizeof(long) == sizeof(void *) in Linux, right? > > > > > > If you were to support just a single data type, long would probably > > > be the most useful. Still, it might be more consistent to support > > > int and long, same as atomic. > > > > Sure, but in practice these tend to be simple counters: that could well > > change when dynamic percpu allocs become first class citizens, but let's > > not put the cart before the horse... > > Right, I was just responding to Christoph's puzzling question. > > > > Per-cpu seems to be particularly prone to over-engineering: see commit > > 7ff6f08295d90ab20d25200ef485ebb45b1b8d71 from almost two years ago. > > Grepping here reveals that this infrastructure is still not used. > > Hmm. Something like that needs the question asked "who uses this?" > before it is merged I guess. If it were a trivial patch maybe not, > but something like this that sits untested for so long is almost > broken by definition ;)
Some code of mine which didn't make it beyond -mm used this small per-cpu extension. So the commit you refer to was tested. --
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:
[patch 04/41] cpu ops: Core piece for generic atomic per c ...
, Christoph Lameter
, (Thu May 29, 8:56 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Andrew Morton
, (Thu May 29, 9:58 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Christoph Lameter
, (Thu May 29, 10:17 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Andrew Morton
, (Thu May 29, 10:38 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Christoph Lameter
, (Thu May 29, 11:12 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Rusty Russell
, (Thu May 29, 11:32 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Rusty Russell
, (Fri May 30, 12:05 am)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Rusty Russell
, (Fri May 30, 12:08 am)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Christoph Lameter
, (Fri May 30, 11:00 am)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Rusty Russell
, (Sun Jun 1, 7:00 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Mike Travis
, (Wed Jun 4, 11:18 am)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Rusty Russell
, (Thu Jun 5, 4:59 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Christoph Lameter
, (Mon Jun 9, 12:00 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Christoph Lameter
, (Mon Jun 9, 4:09 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Rusty Russell
, (Mon Jun 9, 4:27 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Christoph Lameter
, (Mon Jun 9, 4:54 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Rusty Russell
, (Mon Jun 9, 7:56 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Christoph Lameter
, (Mon Jun 9, 8:18 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Christoph Lameter
, (Tue Jun 10, 10:42 am)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Rusty Russell
, (Tue Jun 10, 5:03 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Christoph Lameter
, (Tue Jun 10, 5:15 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Rusty Russell
, (Wed Jun 11, 4:10 am)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Christoph Lameter
, (Wed Jun 11, 4:39 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Nick Piggin
, (Wed Jun 11, 5:58 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Rusty Russell
, (Wed Jun 11, 7:44 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Nick Piggin
, (Wed Jun 11, 8:40 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Martin Peschke
, (Thu Jun 12, 2:37 am)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Nick Piggin
, (Thu Jun 12, 4:21 am)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Christoph Lameter
, (Thu Jun 12, 10:19 am)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Rusty Russell
, (Thu Jun 12, 5:38 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Christoph Lameter
, (Thu Jun 12, 7:27 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Rusty Russell
, (Sun Jun 15, 3:33 am)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Christoph Lameter
, (Mon Jun 16, 7:52 am)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Rusty Russell
, (Mon Jun 16, 5:24 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Christoph Lameter
, (Mon Jun 16, 7:29 pm)
Re: [patch 04/41] cpu ops: Core piece for generic atomic p ...
, Mike Travis
, (Tue Jun 17, 7:21 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Mel Gorman
Re: [PATCH 1/4] vmstat: remove zone->lock from walk_zones_in_node
Guenter Roeck
Re: [lm-sensors] Location for thermal drivers
David Woodhouse
Re: RFC: Moving firmware blobs out of the kernel.
Siddha, Suresh B
Re: [PATCH 2.6.21 review I] [11/25] x86: default to physical mode on hotplug CPU k...
Peter Zijlstra
Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)
git-commits-head
:
Linux Kernel Mailing List
[MIPS] Fix potential latency problem due to non-atomic cpu_wait.
Linux Kernel Mailing List
USB: rename USB_SPEED_VARIABLE to USB_SPEED_WIRELESS
Linux Kernel Mailing List
lib/vsprintf.c: fix bug omitting minus sign of numbers (module_param)
Linux Kernel Mailing List
[Bluetooth] Initiate authentication during connection establishment
Linux Kernel Mailing List
[POWERPC] 4xx: Add ppc40x_defconfig
linux-netdev
:
MERCEDES
Your mail id has won 950,000.00 in the MERCEDES Benz Online Promo.for claims send:
David Miller
Re: [PATCH] xen/netfront: do not mark packets of length < MSS as GSO
David Miller
Re: skb_segment() questions
Shan Wei
[RFC PATCH net-next 2/5]IPv6:netfilter: Send an ICMPv6 "Fragment Reassembly Timeou...
Stanislaw Gruszka
[PATCH 1/4] bnx2x: use smp_mb() to keep ordering of read write operations
git
:
Nicolas Sebrecht
git-svn died of signal 11 (was "3 failures on test t9100 (svn)")
Junio C Hamano
Re: [PATCH 2/2] Add url.<base>.pushInsteadOf: URL rewriting for push only
Martin Langhoff
Re: [PATCH] GIT commit statistics.
Alexandre Julliard
[PATCH] gitweb: Put back shortlog instead of graphiclog in the project list.
Josh Triplett
[PATCH 2/2] Add url.<base>.pushInsteadOf: URL rewriting for push only
openbsd-misc
:
Taisto Qvist XX
Re: AMD GEODE LX-800 just works with kernel from install42.iso and kernelpanics wi...
Nico Meijer
Re: gOS Develop Kit with VIA pc-1 Processor Platform VIA C7-D
Andreas Bihlmaier
Re: jetway board sensors (Fintek F71805F)
admin
Drive a 2009 car from R799p/m
Antti Harri
Re: how to create a sha256 hash
Colocation donated by:
Syndicate