From owner-svn-src-all@freebsd.org Fri Aug 12 19:32:39 2016 Return-Path: Delivered-To: svn-src-all@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 569C1BB3810 for ; Fri, 12 Aug 2016 19:32:39 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: from mail-yb0-x233.google.com (mail-yb0-x233.google.com [IPv6:2607:f8b0:4002:c09::233]) (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 161AF17F8 for ; Fri, 12 Aug 2016 19:32:39 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: by mail-yb0-x233.google.com with SMTP id d10so6544666ybi.1 for ; Fri, 12 Aug 2016 12:32:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuxi-nl.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bPz1o/OfeL6YzLGQka2+YreLUW8aCOI57xe8PSpwRik=; b=iJ+e+5RVo6GAHnuEW9ZlmX/7XKTGTEsLvfK08zma+fnB+wxiT4EQ3eNjBSI8VVeyYE XGk2BpFRXFe0cx1cvuG7+qhFYTMl8sREWKJMwOOdog2IA7nrKZlTknHkLT+6uDk9IFlp efWrlLAIMWzLFW9BUv/bxHjcyz5zmon3JsnkMxifnQBRVg2el11RXckLbt1LEhlGu6LA QlNz0TJOkf1Bl7fK7UIf7MHBeXk7gFLsXlhTOJsdF5PNNxxMDbfnAtORmv/jAjhjgqkv nIhLF1os3YPRAhVwEIQylzQnaDzIxb87TK9oXfwi8Ey8f6nXNCgu1+T1rPGzTywIQtF9 PAzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bPz1o/OfeL6YzLGQka2+YreLUW8aCOI57xe8PSpwRik=; b=LIByDH/WAFK87taD3in49TpMfXL3F03hSZIHdXu5z36A/zdecwkMTiarKTbFkowdfG gDq39xCrIPtf2IG0IvQDieAgzoyp3NnUohZeFPznkUz6gzuCiHLgJnAyBzh0EvRsWXSL U8/3HiCbbMVWmdSe17fEaG4LgvuhM2zUgcUvU4tIHePR/ICwx+CL9YSuLoDgjdFJrcpX mlfuk5Wrj/lhv7+1Ns8iVTUj/jwYBQXMF/dg6IEsrsUteXxsH4/vEnvJq3pFYo2R5pem NUEEHBgmTS4peQT6ypXTsaGQiTz5fXIXYPyjFWQIoXlpWlEi+G4b08lqh8sChtUThlRz Arkg== X-Gm-Message-State: AEkoousqRSsT4eTR6X5c1raHYxd/KRxaacJDwUEB3xzMihQcE29scKWKvpoK0w6gPo5pO2uTRO0q+xgiLJWAMA== X-Received: by 10.37.216.23 with SMTP id p23mr11353116ybg.53.1471030358120; Fri, 12 Aug 2016 12:32:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.201.71 with HTTP; Fri, 12 Aug 2016 12:32:37 -0700 (PDT) In-Reply-To: <20160812183636.GP83214@kib.kiev.ua> References: <201608121829.u7CITCIu059447@repo.freebsd.org> <35B0B56E-A536-4A07-B397-7E5ABAB4CB34@gmail.com> <20160812183636.GP83214@kib.kiev.ua> From: Ed Schouten Date: Fri, 12 Aug 2016 21:32:37 +0200 Message-ID: Subject: Re: svn commit: r304011 - head/libexec/rtld-elf To: Konstantin Belousov Cc: Ngie Cooper , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Aug 2016 19:32:39 -0000 2016-08-12 20:36 GMT+02:00 Konstantin Belousov : > Because the API is unusable. It causes full queue iteration when the object > is NULL, i.e. at the end of the queue, instead of doing nothing. Ah, thanks for working on this then. I personally think that all of those macros in that run in linear time should be removed. Why not just use the proper data structure? -- Ed Schouten Nuxi, 's-Hertogenbosch, the Netherlands KvK-nr.: 62051717