Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754220AbYLVJCF (ORCPT ); Mon, 22 Dec 2008 04:02:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753234AbYLVJBy (ORCPT ); Mon, 22 Dec 2008 04:01:54 -0500 Received: from tservice.net.ru ([195.178.208.66]:34511 "EHLO tservice.net.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751882AbYLVJBy (ORCPT ); Mon, 22 Dec 2008 04:01:54 -0500 Date: Mon, 22 Dec 2008 12:01:49 +0300 From: Evgeniy Polyakov To: Eric Paris Cc: "C. Scott Ananian" , linux-kernel@vger.kernel.org, a.p.zijlstra@chello.nl, viro@zeniv.linux.org.uk, hch@infradead.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk Subject: Re: [RFC PATCH -v4 12/14] fsnotify: add correlations between events Message-ID: <20081222090149.GA22123@ioremap.net> References: <20081212213915.27112.57526.stgit@paris.rdu.redhat.com> <20081212215217.27112.75137.stgit@paris.rdu.redhat.com> <1229913601.29604.9.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1229913601.29604.9.camel@localhost.localdomain> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 836 Lines: 18 On Sun, Dec 21, 2008 at 09:40:01PM -0500, Eric Paris (eparis@redhat.com) wrote: > anyone who uses inotify think there would be a problem with cookie reuse > coming this soon? In my experience we only care about cookies to be the same, and not monotinically grow up. So this may just jump up and down, and since events are potentially distributed in time (although follow one after another), wrapping should roughly cover number of processes running (and potentially renaming objects), so having 20 bits for the counter and 12 for the CPU id should be enough for now. -- Evgeniy Polyakov -- 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/