Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268453AbUILFUI (ORCPT ); Sun, 12 Sep 2004 01:20:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268455AbUILFUI (ORCPT ); Sun, 12 Sep 2004 01:20:08 -0400 Received: from fw.osdl.org ([65.172.181.6]:47539 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S268453AbUILFUF (ORCPT ); Sun, 12 Sep 2004 01:20:05 -0400 Date: Sat, 11 Sep 2004 22:18:05 -0700 From: Andrew Morton To: Zwane Mwaikambo Cc: torvalds@osdl.org, paulus@samba.org, linux-kernel@vger.kernel.org, anton@samba.org, jun.nakajima@intel.com, ak@suse.de, mingo@elte.hu Subject: Re: [PATCH] Yielding processor resources during lock contention Message-Id: <20040911221805.6269d60e.akpm@osdl.org> In-Reply-To: References: <16703.60725.153052.169532@cargo.ozlabs.ibm.com> <20040911220003.0e9061ad.akpm@osdl.org> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 644 Lines: 17 Zwane Mwaikambo wrote: > > > Confused by all of this. > > Well currently it just enables preempt and spins like a mad man until the > lock is free. The idea is to allow preempt to get some scheduling done > during the spin.. Oh, Ok, I thought you were proposing that "yield" meant an actual yield(). yes, allowing the arch to hook into that busywait loop makes sense. - 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/