kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: gustavoleite.ti@gmail.com (Gustavo Leite)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Kconfig in external modules
Date: Thu, 22 Feb 2018 11:13:09 -0300	[thread overview]
Message-ID: <20180222141309.GA31308@gmail.com> (raw)
In-Reply-To: <102477.1519306628@turing-police.cc.vt.edu>

On Thu, Feb 22, 2018 at 08:37:08AM -0500, valdis.kletnieks at vt.edu wrote:
> This is probably a Bad Idea, because it results in a module that was built against
> a different .config than the kernel it is loaded into.  All sorts of things can go
> wrong (for instance, consider if your local Kconfig did a 'select' to turn on
> a CONFIG_ variable that wasn't on in the main kernel config).

I see. Thanks for explaining.

> You should just get the module fixed so it can be upstreamed and in-tree rather
> than live life as an external module (plus, if you do that, you no longer need to
> do all the updating of code when in-kernel API's change ;)

Well, I'm new to module programming and I'm interested in academic research on
NUMA balancing techniques. This module is where I intend to test new ideas and
it is definitely not ready for merging upstream. This is the reason it will
probably remain as an external module.

> If you need config options for a module,

Your email ends abruptly, I guess something wrong happened. Could you resend
this part?

Thanks,
~ Gustavo

  reply	other threads:[~2018-02-22 14:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-22 13:06 Kconfig in external modules Gustavo Leite
2018-02-22 13:37 ` valdis.kletnieks at vt.edu
2018-02-22 14:13   ` Gustavo Leite [this message]
2018-02-22 15:15     ` valdis.kletnieks at vt.edu
2018-02-22 15:42       ` Gustavo Leite

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=20180222141309.GA31308@gmail.com \
    --to=gustavoleite.ti@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.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;
as well as URLs for NNTP newsgroup(s).