Re: [patch] x86, bts: use atomic memory allocation

From: Markus Metzger
Date: Fri Mar 20 2009 - 15:00:32 EST


On Fri, 2009-03-20 at 19:55 +0100, Ingo Molnar wrote:
> * Metzger, Markus T <markus.t.metzger@xxxxxxxxx> wrote:
>

> > The second config boots OK with the additional changes to keep the
> > GFP_KERNEL and move the ds_request_bts() calls out of the
> > on_each_cpu() in the hw-branch-tracer.
> >
> > I don't know yet what exactly causes the crash and if there is a
> > simpler fix.
>
> hm, this was an AMD box - so perhaps they dont have a compatible DS
> implementation?

Hmmm, could be.

In that case, ds_cfg should be zero-initialized and ds_request should
return -EOPNOTSUPP. I'll try to simulate that.

regards,
markus.


--
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/