Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1586773

Re: lib: Introduce priority array area manager

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Jiri Pirko <jiri@resnulli.us>
Newsgroups linux.kernel
Subject Re: lib: Introduce priority array area manager
Date Thu, 23 Feb 2017 10:30:02 +0100
Message-ID <tdXSO-7Pd-7@gated-at.bofh.it> (permalink)
References <tdWtH-6D3-7@gated-at.bofh.it> <tdWtH-6D3-5@gated-at.bofh.it> <tdX6q-7c9-17@gated-at.bofh.it> <tdXSO-7Pd-9@gated-at.bofh.it>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=cBou52srASvQHhDm4PQ5ePN8ky82eamr2xzjrXJur/U=; b=kQIDW6Tx0u7hMM+3mb3wWyGDjl3DWgs4KUMQ4lPagKwQILhaj5WlMJCVGOk/bglxGs Tt6dxbjIH6YQ3JTIct7109vRD97+oB8ZKI1E9x1vB4jDvimHQwMvNsoLcJ5+NsmzkM/8 TvXcwudOeFOycTDFShziJ0dS7P5Mgs7pZSkdCdUchaJaEwcfs4KsTyhlWi8SINIjXUpM i2z4CkmM5mm3umbXNfiIvn78prCeyaAzByOjG5dszRrBT0XjaUE66ru1syCJalb+o7c9 D0DeFsMAY42rh6EjerXYL9C1IJdi54RZ15/oUfZkWybz5rFg1p4d4vwZV0c4USrb8x0O Pe8w==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=cBou52srASvQHhDm4PQ5ePN8ky82eamr2xzjrXJur/U=; b=FYalxJmqwAoS/awUlbFpHbFrAGTby9Y7y7eu6SaG873ZxDSdnHNAIwo76sDQ/ZF6Rj p+3XeHGJQOrzW2QpTgNmBdlGxlI0bJeg7LOJh/PWIdqO5khqD1uWMkzqojx+kLaKdBbi hfG4cPL9MEUXXCwDStfFYwfRKxwzoizYdUk2dtdKUakptOhWYTRItzdS+n2T2cPk8LIJ nBorSS9AdEwWAc8bblcebDwCzHirh7kqaBetIpP4O2K/mlGMNN93GYJEgylah27NbrjW AKpnmpVp9+mVumDojMnKvCHkkL8AUth5A1bevp9EOyPiB0gAzXGFxE7OlZ4OnCskgLtf RY7w==
X-Gm-Message-State AMke39nKJRZV59dzbAnqXXMTBWCWpvnGAos40bXGs+td06J2szE0yIXJ7RX2tII9euDS4w==
X-Received by 10.28.55.199 with SMTP id e190mr3056758wma.92.1487841957094; Thu, 23 Feb 2017 01:25:57 -0800 (PST)
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.7.1 (2016-10-04)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 65
Organization linux.* mail to news gateway
X-Original-Cc Jiri Pirko <jiri@mellanox.com>, "netdev@vger.kernel.org" <netdev@vger.kernel.org>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
X-Original-Date Thu, 23 Feb 2017 10:25:54 +0100
X-Original-Message-ID <20170223092554.GB2699@nanopsycho>
X-Original-References <20170222190204.878696619DE@gitolite.kernel.org> <CAMuHMdXR5QZrN1NMkZq_jSo0cRMqMJ6m5q-8C3pr1_NWKUZcqg@mail.gmail.com> <20170223083231.GA2699@nanopsycho> <CAMuHMdV4-xfKyBiBU2GaR42MA_5LjspF-wykN=ADgEdF6X+wWg@mail.gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1586773

Show key headers only | View raw


Thu, Feb 23, 2017 at 10:22:22AM CET, geert@linux-m68k.org wrote:
>Hi Jiri,
>
>On Thu, Feb 23, 2017 at 9:32 AM, Jiri Pirko <jiri@resnulli.us> wrote:
>> Thu, Feb 23, 2017 at 08:56:26AM CET, geert@linux-m68k.org wrote:
>>>On Wed, Feb 22, 2017 at 8:02 PM, Linux Kernel Mailing List
>>><linux-kernel@vger.kernel.org> wrote:
>>>> Web:        https://git.kernel.org/torvalds/c/44091d29f2075972aede47ef17e1e70db3d51190
>>>> Commit:     44091d29f2075972aede47ef17e1e70db3d51190
>>>> Parent:     b862815c3ee7b49ec20a9ab25da55a5f0bcbb95e
>>>> Refname:    refs/heads/master
>>>> Author:     Jiri Pirko <jiri@mellanox.com>
>>>> AuthorDate: Fri Feb 3 10:29:06 2017 +0100
>>>> Committer:  David S. Miller <davem@davemloft.net>
>>>> CommitDate: Fri Feb 3 16:35:42 2017 -0500
>>>>
>>>>     lib: Introduce priority array area manager
>>>>
>>>>     This introduces a infrastructure for management of linear priority
>>>>     areas. Priority order in an array matters, however order of items inside
>>>>     a priority group does not matter.
>>>>
>>>>     As an initial implementation, L-sort algorithm is used. It is quite
>>>>     trivial. More advanced algorithm called P-sort will be introduced as a
>>>>     follow-up. The infrastructure is prepared for other algos.
>>>>
>>>>     Alongside this, a testing module is introduced as well.
>>>>
>>>>     Signed-off-by: Jiri Pirko <jiri@mellanox.com>
>>>>     Signed-off-by: David S. Miller <davem@davemloft.net>
>>>
>>>> --- a/lib/Kconfig
>>>> +++ b/lib/Kconfig
>>>> @@ -550,4 +550,7 @@ config STACKDEPOT
>>>>  config SBITMAP
>>>>         bool
>>>>
>>>> +config PARMAN
>>>> +       tristate "parman"
>>>
>>>| parman (PARMAN) [N/m/y] (NEW) ?
>>>|
>>>| There is no help available for this option.
>>>
>>>Can you please add a description for this option?
>>>Or drop the "parman" string if this is always selected by its kernel users, and
>>>never intended to be enabled by the end user.
>>
>> I did it in the same way other similar lib dependencies do that. Does
>> not make sense to have separate description for this, cause this is
>> always only a dependency of a kernel user.
>
>OK, so the user should not be asked about it...
>
>> You suggeste to 'drop the "parman" string'. What do you mean by that
>> exactly?
>
>... and
>
>-       tristate "parman"
>+       tristate
>
>should do the trick.

Okay. I will push this through the net tree. Thanks!

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: lib: Introduce priority array area manager Geert Uytterhoeven <geert@linux-m68k.org> - 2017-02-23 09:00 +0100
  Re: lib: Introduce priority array area manager Jiri Pirko <jiri@resnulli.us> - 2017-02-23 09:40 +0100
    Re: lib: Introduce priority array area manager Jiri Pirko <jiri@resnulli.us> - 2017-02-23 10:30 +0100
    Re: lib: Introduce priority array area manager Geert Uytterhoeven <geert@linux-m68k.org> - 2017-02-23 10:30 +0100

csiph-web