From owner-freebsd-bugs@FreeBSD.ORG Fri Jun 24 12:59:38 2011 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 363F81065700; Fri, 24 Jun 2011 12:59:38 +0000 (UTC) (envelope-from rmh.aybabtu@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id E03928FC1C; Fri, 24 Jun 2011 12:59:37 +0000 (UTC) Received: by pwi7 with SMTP id 7so457639pwi.13 for ; Fri, 24 Jun 2011 05:59:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ujjEE//N36yTz2F9ebwKTpykHUUsnYx7XVQTHIc7lwo=; b=FwT602YRJhmlsd2uJ1vsQ1v4t5CD44dl2pHCtKVhFjoP7GE0b+Sr8/9/gXkNDMioHp EQsgK9Hvs/ZSmxGCXcxEcOntA1Jihq5TYHqGpkcmEIpiT4LU6XOmMoNktWg41pyAllO3 84RzxtyYa2YyCPrqV4e599vhPEqdBWBnpgn+o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=B2PpS0fBIPZW6zia9opTs5+XTdmoM97JaNgy18LM6LTVKhS5HEhltVIymGphhvSozw BixC+67msOYFM9Jr/i9ROJvX1v/aT9aD9jdoO0FdFVlaMCji9FLPCFsYV3GpfQVihyBa lKrv8AqWVO9/AAxi4tNRiNs9lKVy0wtr8jlGo= MIME-Version: 1.0 Received: by 10.68.36.195 with SMTP id s3mr1574624pbj.388.1308920377464; Fri, 24 Jun 2011 05:59:37 -0700 (PDT) Sender: rmh.aybabtu@gmail.com Received: by 10.68.49.169 with HTTP; Fri, 24 Jun 2011 05:59:37 -0700 (PDT) In-Reply-To: <201106241246.51881.hselasky@c2i.net> References: <201106151523.p5FFN73i075030@red.freebsd.org> <201106240617.23235.hselasky@c2i.net> <201106241246.51881.hselasky@c2i.net> Date: Fri, 24 Jun 2011 14:59:37 +0200 X-Google-Sender-Auth: jjszI6dK_3UhsU8WjZFW8D3p6zU Message-ID: From: Robert Millan To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, freebsd-bugs@freebsd.org, FreeBSD-gnats-submit@freebsd.org, freebsd-usb@freebsd.org, freebsd-current@freebsd.org Subject: Re: misc/157903: automated kldload for USB class devices X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2011 12:59:38 -0000 2011/6/24 Hans Petter Selasky : >> Very nice. =C2=A0But why not use variable names instead of hardcoding nu= mbers? >> It makes the output much easier to understand. > > To save memory. I haven't inspected devd code, but I was under the assumption that variables only lived untill resolved. What would be the point of keeping them in memory after devd has finished parsing the config files? --=20 Robert Millan