public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Konstantin Khlebnikov <khlebnikov@openvz.org>
To: Richard Cochran <richardcochran@gmail.com>
Cc: Michal Marek <mmarek@suse.cz>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org,
	Tejun Heo <tj@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: [PATCH RFC 1/5] kconfig: implement weak reverse-dependencies
Date: Thu, 21 Mar 2013 15:06:11 +0400	[thread overview]
Message-ID: <514AE9A3.5090209@openvz.org> (raw)
In-Reply-To: <20130321102200.GB2341@netboy.at.omicron.at>

Richard Cochran wrote:
> On Thu, Mar 21, 2013 at 12:22:57PM +0400, Konstantin Khlebnikov wrote:
>> This patch adds new kind of dependencies between kconfig symbols,
>> and new kconfig keyword 'apply' for them.
>>
>> 'apply' works mostly like 'select', but it allows to disable target symbol.
>> Thus target symbol will be either disabled or reachable from current symbol.
>>
>> This method allows to implement optional dependencies without introducing new
>> kconfig symbol for each pair of connected kconfig options.
>
> I don't really understand what the point of this new keyword is, but I
> wonder why you chose PTP Hardware Clocks as your Guinea pig.
>
> As discussed on the netdev list [1][2], the consensus was that if a
> MAC driver has a PHC, then it should always be compiled in.

I don't like situations when really optional code becomes mandatory.

As I see this technology requires special dedicated server in the local
network, thus it's unusable in most situations. But it starts working
without any actions from the user (please fix me if I'm wrong).

Thus this code enables some rarely used parts of hardware.
After seeing several weird bugs in ethernet devices I prefer to
keep unused/unwanted features off.

>
> And BTW, please CC netdev for PHC patches.

Of course, if basic logic of this RFC patchset will be approved I'll resend
PTP part to netdev. I don't want to bother netdev guys because PTP and e1000e
are used here just as Guinea pigs.

>
> Thanks,
> Richard
>
> 1. http://marc.info/?l=linux-netdev&m=135173341101960
> 2. http://www.spinics.net/lists/netdev/msg215379.html


  reply	other threads:[~2013-03-21 11:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-21  8:22 [PATCH RFC 1/5] kconfig: implement weak reverse-dependencies Konstantin Khlebnikov
2013-03-21  8:23 ` [PATCH RFC 2/5] kconfig: regen parser Konstantin Khlebnikov
2013-03-21  8:23 ` [PATCH RFC 3/5] kconfig: simplity linking cross-module glue objects Konstantin Khlebnikov
2013-03-21  8:23 ` [PATCH RFC 4/5] ptp: add stub function for ptp_clock_index() Konstantin Khlebnikov
2013-03-21  8:23 ` [PATCH RFC 5/5] e1000e: make PTP clock optional Konstantin Khlebnikov
2013-03-21 10:22 ` [PATCH RFC 1/5] kconfig: implement weak reverse-dependencies Richard Cochran
2013-03-21 11:06   ` Konstantin Khlebnikov [this message]
2013-03-21 11:43     ` Richard Cochran

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=514AE9A3.5090209@openvz.org \
    --to=khlebnikov@openvz.org \
    --cc=akpm@linux-foundation.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmarek@suse.cz \
    --cc=richardcochran@gmail.com \
    --cc=tj@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox