From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756711Ab0EUIDi (ORCPT ); Fri, 21 May 2010 04:03:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29382 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753977Ab0EUIDg convert rfc822-to-8bit (ORCPT ); Fri, 21 May 2010 04:03:36 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <1274135154-24082-1-git-send-email-walken@google.com> <1274135154-24082-9-git-send-email-walken@google.com> <4405.1274276055@redhat.com> To: Michel Lespinasse Cc: dhowells@redhat.com, Linus Torvalds , Ingo Molnar , Thomas Gleixner , LKML , Andrew Morton , Mike Waychison , Suleiman Souhlal , Ying Han Subject: Re: [PATCH 08/10] rwsem: down_read_critical infrastructure support MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Date: Fri, 21 May 2010 09:03:04 +0100 Message-ID: <19291.1274428984@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Michel Lespinasse wrote: > > -       if (flags & RWSEM_UNFAIR) > > +       if (type & RWSEM_WAITING_FOR_UNFAIR_READ) > > if (type == RWSEM_WAITING_FOR_UNFAIR_READ) Sorry, yes.