mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Vegard Nossum" <vegard.nossum@gmail.com>
To: "Mariusz Kozlowski" <m.kozlowski@tuxland.pl>,
	"Dave Hansen" <haveblue@us.ibm.com>,
	"Greg Kroah-Hartman" <gregkh@suse.de>
Cc: "Stephen Rothwell" <sfr@canb.auug.org.au>,
	kernel-testers@vger.kernel.org, linux-next@vger.kernel.org,
	LKML <linux-kernel@vger.kernel.org>,
	"Pekka Enberg" <penberg@cs.helsinki.fi>
Subject: Re: linux-next: Tree for July 18: warning at kernel/lockdep.c:2068 trace_hardirqs_on_caller
Date: Sat, 19 Jul 2008 14:59:12 +0200	[thread overview]
Message-ID: <19f34abd0807190559y2fe5ebf9h7095793e82de3122@mail.gmail.com> (raw)
In-Reply-To: <19f34abd0807190255x304173d4wf2bfabb2d5bce511@mail.gmail.com>

On Sat, Jul 19, 2008 at 11:55 AM, Vegard Nossum <vegard.nossum@gmail.com> wrote:
> What I don't get here is how SLUB can be used this early in the boot
> process. Notice that this is still miles away from the
>
>    SLUB: Genslabs=12, HWalign=128, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
>
> line, which comes much later. And that kobject_init() _is_ calling
> kzalloc() via verify_dynamic_kobject_allocation(). Isn't this an
> error?
>
> (Unfortunately, my "git log" doesn't turn up any recent changes for
> any of the affected code paths here.)

Ehe... and this is the reason why: The code was added by this patch:

commit 0e3638d1e04040121af00195f7e4628078246489
Author: Dave Hansen <haveblue@us.ibm.com>
Date:   Thu Mar 16 17:30:16 2006 -0800

    warn when statically-allocated kobjects are used

..which only exists in -next. Is that just a truly ancient patch, or
did somebody forget to adjust their clock?

(Stephen: Maybe this has been answered before, but what's the best way
to figure out where it came from?)


Vegard

-- 
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
	-- E. W. Dijkstra, EWD1036

  parent reply	other threads:[~2008-07-19 12:59 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-18  9:53 linux-next: Tree for July 18 Stephen Rothwell
2008-07-19  7:28 ` linux-next: Tree for July 18: warning at kernel/lockdep.c:2068 trace_hardirqs_on_caller Mariusz Kozlowski
2008-07-19  9:55   ` Vegard Nossum
2008-07-19 12:56     ` Pekka Enberg
2008-07-19 12:59     ` Vegard Nossum [this message]
2008-07-19 13:22       ` Stephen Rothwell
2008-07-19 22:17       ` Greg KH
2008-07-19 22:27         ` Vegard Nossum
2008-07-19 22:41           ` Greg KH
2008-07-19 22:44           ` Vegard Nossum
2008-07-19 22:58             ` Greg KH
2008-07-19 23:11               ` Vegard Nossum
2008-07-19 23:20                 ` Greg KH
2008-07-20 12:51                   ` Bernhard Walle
2008-07-20  9:01                 ` Dave Hansen
2008-07-20  9:35                   ` Thomas Meyer
2008-07-20 13:03                   ` Bernhard Walle
2008-07-20 15:44                     ` Bernhard Walle
2008-07-21 13:17                   ` Vivek Goyal
2008-07-21 13:25                     ` Bernhard Walle
2008-07-21 13:39                       ` Vivek Goyal
2008-07-21 15:00                         ` Bernhard Walle
2008-07-22  6:15                           ` Yasunori Goto
2008-07-20 12:48             ` Bernhard Walle
2008-07-19  7:39 ` linux-next: Tree for July 18: nfs problems Mariusz Kozlowski
2008-07-19  9:35 ` linux-next: Tree for July 18: powerpc g3 hangs Mariusz Kozlowski
2008-07-19 15:31 ` linux-next: Tree for July 18 (very early crash on x86_32) Bartlomiej Zolnierkiewicz
2008-07-20  0:20 ` linux-next: Tree for July 18: sky2 WOL broken Rafael J. Wysocki

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=19f34abd0807190559y2fe5ebf9h7095793e82de3122@mail.gmail.com \
    --to=vegard.nossum@gmail.com \
    --cc=gregkh@suse.de \
    --cc=haveblue@us.ibm.com \
    --cc=kernel-testers@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=m.kozlowski@tuxland.pl \
    --cc=penberg@cs.helsinki.fi \
    --cc=sfr@canb.auug.org.au \
    /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

all inboxes | Powered by JetHome®