Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 23 Feb 2002 13:28:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 23 Feb 2002 13:28:24 -0500 Received: from bitmover.com ([192.132.92.2]:30880 "EHLO bitmover.com") by vger.kernel.org with ESMTP id ; Sat, 23 Feb 2002 13:28:06 -0500 Date: Sat, 23 Feb 2002 10:28:05 -0800 From: Larry McVoy To: Linus Torvalds Cc: Ingo Molnar , Rusty Russell , Matthew Kirkwood , Benjamin LaHaise , David Axmark , William Lee Irwin III , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Lightweight userspace semaphores... Message-ID: <20020223102805.F11156@work.bitmover.com> Mail-Followup-To: Larry McVoy , Linus Torvalds , Ingo Molnar , Rusty Russell , Matthew Kirkwood , Benjamin LaHaise , David Axmark , William Lee Irwin III , linux-kernel@vger.kernel.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from torvalds@transmeta.com on Sat, Feb 23, 2002 at 10:20:04AM -0800 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > Also, one thing possibly worth looking into is to just put the actual > semaphore contents into a regular file backed setup. > > Linus Exactly. SMP gives you coherent memory and test-and-set or some other atomic operation. Why not use it? -- --- Larry McVoy lm at bitmover.com http://www.bitmover.com/lm - 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/