From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1945996AbXBPQxd (ORCPT ); Fri, 16 Feb 2007 11:53:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1946004AbXBPQxd (ORCPT ); Fri, 16 Feb 2007 11:53:33 -0500 Received: from nf-out-0910.google.com ([64.233.182.187]:13187 "EHLO nf-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1945996AbXBPQxc (ORCPT ); Fri, 16 Feb 2007 11:53:32 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ki/ESnYpSULsgzivHOkRpyTsz0FVs38XOEBRizDyoUy1Az5FtHSl7G7bN3CQE3T4G8q2yKx0X35KNPsyH3EcCgXg6IuRa5tUvs7KwOTUuNEtFdZbIhxAix5Jr3Cs6gXE4Tc8TcQi92RpgDlXFcluMIkdqCFuSnuMhYPrmI5w6KY= Message-ID: <2c0942db0702160853s18f650ccsa7270c047d94a41b@mail.gmail.com> Date: Fri, 16 Feb 2007 08:53:30 -0800 From: "Ray Lee" Reply-To: ray-gmail@madrabbit.org To: "Evgeniy Polyakov" Subject: Re: [patch 05/11] syslets: core code Cc: "Linus Torvalds" , "Ingo Molnar" , "Linux Kernel Mailing List" , "Arjan van de Ven" , "Christoph Hellwig" , "Andrew Morton" , "Alan Cox" , "Ulrich Drepper" , "Zach Brown" , "David S. Miller" , "Benjamin LaHaise" , "Suparna Bhattacharya" , "Davide Libenzi" , "Thomas Gleixner" In-Reply-To: <20070216160525.GA21160@2ka.mipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070215133550.GA29274@2ka.mipt.ru> <20070215163704.GA32609@2ka.mipt.ru> <20070215181059.GC20997@2ka.mipt.ru> <20070215190413.GA23953@2ka.mipt.ru> <20070216085706.GA22868@2ka.mipt.ru> <20070216160525.GA21160@2ka.mipt.ru> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On 2/16/07, Evgeniy Polyakov wrote: > if its design is good, then > interface can be changed in a moment without any problem This isn't always the case. Sometimes the interface puts requirements (contract-like) upon the implementation. Case in point in the kernel, dnotify versus inotify. dnotify is a steaming pile of worthlessness, because it's userspace interface is so bad (meaning inefficient) as to be nearly unusable. inotify has a different interface, one that supplies details about events rather that mere notice that an event occurred, and therefore has different requirements in implementation. dnotify probably was a good design, but for a worthless interface. The interface isn't always important, but it's certainly something that has to be understood before putting the finishing touches on the behind-the-scenes implementation. Ray