Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757729AbZFVSRa (ORCPT ); Mon, 22 Jun 2009 14:17:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752930AbZFVSRV (ORCPT ); Mon, 22 Jun 2009 14:17:21 -0400 Received: from x35.xmailserver.org ([64.71.152.41]:41507 "EHLO x35.xmailserver.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752496AbZFVSRU (ORCPT ); Mon, 22 Jun 2009 14:17:20 -0400 X-AuthUser: davidel@xmailserver.org Date: Mon, 22 Jun 2009 11:11:12 -0700 (PDT) From: Davide Libenzi X-X-Sender: davide@makko.or.mcafeemobile.com To: "Michael S. Tsirkin" cc: Gregory Haskins , Gregory Haskins , kvm@vger.kernel.org, Linux Kernel Mailing List , avi@redhat.com, paulmck@linux.vnet.ibm.com, Ingo Molnar , Rusty Russell Subject: Re: [KVM PATCH v3 3/3] KVM: Fix races in irqfd using new eventfd_kref_get interface In-Reply-To: <20090622174506.GD15228@redhat.com> Message-ID: References: <20090622155504.22967.50532.stgit@dev.haskins.net> <20090622160556.22967.76273.stgit@dev.haskins.net> <20090622165708.GB15228@redhat.com> <4A3FBFF1.8050504@gmail.com> <20090622174506.GD15228@redhat.com> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) X-GPG-FINGRPRINT: CFAE 5BEE FD36 F65E E640 56FE 0974 BF23 270F 474E X-GPG-PUBLIC_KEY: http://www.xmailserver.org/davidel.asc MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 534 Lines: 17 On Mon, 22 Jun 2009, Michael S. Tsirkin wrote: > Not really, it's impossible to document all races one have thought > about and avoided. Well, when some new code has non-trivial locking/racing logics, you better document it as clearly as possible, akpm announced time ago. - Davide -- 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/