From owner-freebsd-current@freebsd.org Fri Apr 15 17:22:13 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9ADBAEEBF9 for ; Fri, 15 Apr 2016 17:22:13 +0000 (UTC) (envelope-from mozolevsky@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 72B2E1A54; Fri, 15 Apr 2016 17:22:13 +0000 (UTC) (envelope-from mozolevsky@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id a140so40538380wma.0; Fri, 15 Apr 2016 10:22:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=ZOdJmgqlE1SRx4Y3YgofYKz++V86jlpI8g78HsL1ZS8=; b=Zjyc4lmgkX/Fzb+kQh7eUpWrHDr/FopSkV6Fg/i1IRA+ZSH2vhetJQmo8YwQmMfJaF 9l56aeZOnlgeDpHqJldTalCnHRDKFdXWI4+TR+kO+Iy1on/OjMgv8U9+vpnwjQqJWOK4 hkiYwlp324+4uRr1mrDRG/rwrlXZ9/Csulxm3z/3BjxkTPXRt0s9Bl8tnvfXDUxtNfOh f05lmeYEffA8x4cyHLREEvAD52C0ltzmVMHoKRxUp9ajDOkYB/UktQXdcvxuKIMiFw/E F9xCaDoq0uZzZVNU1VTXnVVL6dAICgpIPZAl+gWd0oXeo6NXwsY+l35Hv0wzxLZEPKdT qpkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=ZOdJmgqlE1SRx4Y3YgofYKz++V86jlpI8g78HsL1ZS8=; b=EZ2QaPao8B5Vkwz+iV7mlCPb0+A4tw80Z+7RFCaAe3ZD3OpMXME6dj/23uzEEjXIQx XuT3/qPyWY0QobDCvzDBs99Xwljq2l9IwpSEW7tdTbmly6sQF80JKJSk0KK1FDzzyXGN NfWcJtB+nfMEbw34J8ewabvUopeTWM8bfJMucYOVIXxsKzbS6YaM4Y0O8vS0jAtEHu36 LlBm3pvFITaFhbOiV+aDF9r/DrTqmdZLVrIDMqKJAbxiaJ2higYXtXiQZbvGHKRNpLli kxEp83pv5rNOuTJ7Y9+ErqJUlPLte/+0fZH4NkcUAn3Z7X2pB2jpZk6vZQPis/4DXgbz w68A== X-Gm-Message-State: AOPr4FXtjcvXBIHhKdA+x7lVA6AmoRyElcfdpWYnVwvU0yo4hBame7iEdSM0YM5ReAZw3JoTU87Qu9gSxJApcg== X-Received: by 10.28.46.193 with SMTP id u184mr5766622wmu.95.1460740931727; Fri, 15 Apr 2016 10:22:11 -0700 (PDT) MIME-Version: 1.0 Sender: mozolevsky@gmail.com Received: by 10.28.29.207 with HTTP; Fri, 15 Apr 2016 10:21:32 -0700 (PDT) In-Reply-To: References: From: Igor Mozolevsky Date: Fri, 15 Apr 2016 18:21:32 +0100 X-Google-Sender-Auth: t2y6xNoTntKWvFnKlH9uWIEdgbs Message-ID: Subject: Re: Heads up To: cem@freebsd.org Cc: Maxim Sobolev , Warner Losh , FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2016 17:22:13 -0000 On 15 April 2016 at 17:22, Conrad Meyer wrote: If you implement a new IO scheduler you can name it whatever you like. > "NG" isn't any more meaningful than "Netflix." > True, but _NETFLIX as a suffix is bad for three reasons: 1st- it creates a precedent for every sponsoring co. to want their name in the kernel space. 2nd- I doubt any other company would want to sponsor improvement of _NETFLIX codebase, and at the same time after how many commits does the code become so remote from _NETFLIX code so as to have _NETFLIX become a meaningless piece of nostalgia? Finally, taking a leaf out of McConnell's Code Complete- variables need to have an unambiguous and meaningful name- what on earth does _NETFLIX mean: "to be only used at netflix", "to be used on netflix hardware", "to be used with netflix's permission", or something else- if you need to look it up, the variable is named wrongly! My 2c. Cheers, -- Igor M.