From: Linda Walsh <lkml@tlinx.org>
To: LKML <linux-kernel@vger.kernel.org>
Subject: IGNORE: Re: non-standard config in my running distro Default kernel: Effect?
Date: Wed, 17 Jun 2009 14:46:05 -0700 [thread overview]
Message-ID: <4A39641D.2090201@tlinx.org> (raw)
In-Reply-To: <4A395F80.7060504@tlinx.org>
Please ignore this non-issue. I should have sorted my
compare files. (Sigh)...
Linda Walsh wrote:
>
> I found what appears to be a "non-standard configuration" in a
> distro's "Default-SMP", non-Xen kernel, where /proc/config.gz
> from the running kernel has (I only ran into this doing a diff between
> a manually constructed config and my running kernel):
>
> CONFIG_X86_SMP=y
> CONFIG_X86_64_SMP=y
>
> But does NOT have:
>
> CONFIG_USE_GENERIC_SMP_HELPERS=y
>
> From what I can tell, this shouldn't be a possible configuration, since
> CONFIG_X86_SMP should force it to be set to 'y' (not unset).
>
> Would this config, (SMP='y', generic_smp_helpers=(undef) ) have any
> odd effects? Is there a specific "effect" or "feature" one gets
> by having 'smp=y' but not having the smp_helpers enabled?
>
> In my x86_64 arch, the places I see it tested are:
>
> block/blk-softirq.c:
> #if defined(CONFIG_SMP) && defined(CONFIG_USE_GENERIC_SMP_HELPERS)
> #else /* CONFIG_SMP && CONFIG_USE_GENERIC_SMP_HELPERS */
> block/blk-sysfs.c:
> #if defined(CONFIG_USE_GENERIC_SMP_HELPERS)
> include/linux/smp.h:
> #ifdef CONFIG_USE_GENERIC_SMP_HELPERS
> /kernel/Kconfig.hz:
> def_bool HIGH_RES_TIMERS && (!SMP || USE_GENERIC_SMP_HELPERS)
> kernel/softirq.c:
> #ifdef CONFIG_USE_GENERIC_SMP_HELPERS
> #else /* CONFIG_USE_GENERIC_SMP_HELPERS */
>
> ---
> It appears it may disable some softirq routines.
>
> In include/linux/smp.h, having it undefined would disable the
> definition of the functions:
> generic_smp_call_function_single_interrupt,
> generic_smp_call_function_interrupt,
> ipi_call_lock, ipi_call_unlock,
> ipi_call_lock_irq & ipi_call_unlock_irq
>
> Does this have any performance or integrity (lost interrupt)
> implications?
>
>
>
>
>
>
>
>
>
>
>
>
prev parent reply other threads:[~2009-06-17 21:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-17 21:26 non-standard config in my running distro Default kernel: Effect? Linda Walsh
2009-06-17 21:46 ` Linda Walsh [this message]
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=4A39641D.2090201@tlinx.org \
--to=lkml@tlinx.org \
--cc=linux-kernel@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.