Re: 3.10.9: kmemleak disables all CPUs except CPU0

From: Catalin Marinas
Date: Mon Sep 02 2013 - 11:32:16 EST


On 31 August 2013 14:35, Martin MOKREJÅ <mmokrejs@xxxxxxxxx> wrote:
> never realized that my CPUs are gone if I compile into kernel kmemleak.
> Is that really the aim?
>
> CONFIG_HAVE_DEBUG_KMEMLEAK=y
> CONFIG_DEBUG_KMEMLEAK=y
> CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400
> # CONFIG_DEBUG_KMEMLEAK_TEST is not set
> # CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF is not set
>
> 1. Why isn't there /sys/devices/system/cpu/cpu0/online file?
> Does not matter if it contains 0 or 1. It just should exist.

I can't really see how kmemleak would do this, maybe other config
options that get set/cleared in the process of selecting kmemleak. Can
you do a diff between your config with /sys/... entries and the one
without?

--
Catalin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/