[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140910144012.GI4120@two.firstfloor.org>
Date: Wed, 10 Sep 2014 16:40:12 +0200
From: Andi Kleen <andi@...stfloor.org>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Andi Kleen <andi@...stfloor.org>, linux-kernel@...r.kernel.org,
mingo@...nel.org, eranian@...gle.com, tglx@...utronix.de,
Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH] perf, x86: Fall back to vmalloc for BTS buffer
allocation
> We did this once, and that blew up big time.
>
> Even now, vmalloc_fault() has a very explicit:
>
> WARN_ON_ONCE(in_nmi());
>
> So this isn't going to happen until you fix that.
Good point.
We just need to call vmalloc_sync_all at allocation time,
no need to change vmalloc_fault.
-Andi
--
ak@...ux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists