Re: SMP syncronization on AMD processors (broken?)

From: Andi Kleen (ak_at_suse.de)
Date: 10/11/05

  • Next message: Mikulas Patocka: "Re: [PATCH] Use of getblk differs between locations"
    To: Andrew Morton <akpm@osdl.org>
    Date:	Tue, 11 Oct 2005 03:20:27 +0200
    
    

    On Tuesday 11 October 2005 02:59, Andrew Morton wrote:

    > > I'm not advocating for changing spinlock implementation, it's just a
    > > thought...
    >
    > It would make sense in these cases if there was some primitive which we
    > could call which says "hey, I expect+want another CPU to grab this lock in
    > preference to this CPU".

    I just don't know how to implement such a primitive given the guarantees
    of the x86 architecture. It might be possible to do something that
    works on specific CPUs, but that will likely break later.

    -Andi
    -
    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/


  • Next message: Mikulas Patocka: "Re: [PATCH] Use of getblk differs between locations"

    Relevant Pages

    • Re: Page aging broken in 2.6
      ... On Fri, 26 Dec 2003, Andrew Morton wrote: ... It's certainly easier to understand when tuning the VM, ... > (they already have some preference, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: question about contest benchmark
      ... > preferentially to a pure CPU bound process like a build. ... So you want it to schedule that big image that's already used 5 ... minutes of CPU since it started in preference to ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.1-mm4
      ... On January 16, 2004 01:59 am, Andrew Morton wrote: ... > sure you go in there and select the right CPU type, else the kernel ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] use for_each_cpu
      ... On Sun, 2004-08-01 at 17:47, Andrew Morton wrote: ... >> Is it worth adding complexity to the cpu ... Anyone who quotes me in their signature is an idiot -- Rusty Russell ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.9-rc2-mm4 ps hang ?
      ... On Fri, 2004-10-01 at 17:44, Andrew Morton wrote: ... CPU is not busy when this happens. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)