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


Groups > linux.kernel > #1712013

Re: [v6 15/15] mm: debug for raw alloctor

From Michal Hocko <mhocko@kernel.org>
Newsgroups linux.kernel
Subject Re: [v6 15/15] mm: debug for raw alloctor
Date 2017-08-15 11:40 +0200
Message-ID <ueGul-80m-19@gated-at.bofh.it> (permalink)
References (1 earlier) <ubX8m-5vB-3@gated-at.bofh.it> <udhRp-3Vr-35@gated-at.bofh.it> <udkPf-5Kw-1@gated-at.bofh.it> <uemci-3H5-13@gated-at.bofh.it> <ueoe6-58o-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon 14-08-17 10:01:52, Pasha Tatashin wrote:
> >>However, now thinking about it, I will change it to CONFIG_MEMBLOCK_DEBUG,
> >>and let users decide what other debugging configs need to be enabled, as
> >>this is also OK.
> >
> >Actually the more I think about it the more I am convinced that a kernel
> >boot parameter would be better because it doesn't need the kernel to be
> >recompiled and it is a single branch in not so hot path.
> 
> The main reason I do not like kernel parameter is that automated test suits
> for every platform would need to be updated to include this new parameter in
> order to test it.

How does this differ from the enabling a config option and building a
separate kernel?

My primary point of the kernel option was to have something available to
debug without recompiling the kernel which is more tedious than simply
adding one option to the kernel command line.
-- 
Michal Hocko
SUSE Labs

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


Thread

Re: [v6 15/15] mm: debug for raw alloctor Michal Hocko <mhocko@kernel.org> - 2017-08-14 14:00 +0200
  Re: [v6 15/15] mm: debug for raw alloctor Pasha Tatashin <pasha.tatashin@oracle.com> - 2017-08-14 16:10 +0200
    Re: [v6 15/15] mm: debug for raw alloctor Michal Hocko <mhocko@kernel.org> - 2017-08-15 11:40 +0200

csiph-web