Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265920AbTIER4R (ORCPT ); Fri, 5 Sep 2003 13:56:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265921AbTIER4R (ORCPT ); Fri, 5 Sep 2003 13:56:17 -0400 Received: from mail.jlokier.co.uk ([81.29.64.88]:44685 "EHLO mail.jlokier.co.uk") by vger.kernel.org with ESMTP id S265920AbTIER4Q (ORCPT ); Fri, 5 Sep 2003 13:56:16 -0400 Date: Fri, 5 Sep 2003 18:55:52 +0100 From: Jamie Lokier To: Rusty Russell Cc: Linus Torvalds , Hugh Dickins , Andrew Morton , Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Alternate futex non-page-pinning and COW fix Message-ID: <20030905175552.GB4588@mail.jlokier.co.uk> References: <20030904171609.GA30394@mail.jlokier.co.uk> <20030905052006.72B952C135@lists.samba.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030905052006.72B952C135@lists.samba.org> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 914 Lines: 22 Rusty Russell wrote: > In message <20030904171609.GA30394@mail.jlokier.co.uk> you write: > > What does PROT_SEM mean for Linux, btw? > > It's a relic: some archs might need a special flag to ensure > inter-process atomic ops worked as expected. It was never fully ~~~~~~~~~~~ > implemented, with the assumption that such archs just won't be able to ~~~~~~~~~~~ > use futexes, and if someone really wants to fix it, they will. Looking at the kernel I can confidently say it was never implemented at all. sys_mprotect mentioned PROT_SEM but it was a misleading logic error that did nothing useful :) -- Jamie - 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/