[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140113103808.GC5388@pd.tnic>
Date: Mon, 13 Jan 2014 11:38:08 +0100
From: Borislav Petkov <bp@...en8.de>
To: Ren Qiaowei <qiaowei.ren@...el.com>
Cc: "H. Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/5] x86, mpx: hook #BR exception handler to allocate
bound tables
On Mon, Jan 13, 2014 at 11:17:15AM +0800, Ren Qiaowei wrote:
> Yes, I run this with lockdep enabled.
Ok, but you still are doing memory allocation in the exception handler,
AFAICT:
do_bounds
|->do_mpx_bt_fault
|->allocate_bt
|->sys_mmap_pgoff
|->vm_mmap_pgoff
|->do_mmap_pgoff
|->mmap_region
|-> kmem_cache_zalloc(vm_area_cachep, GFP_KERNEL);
--
Regards/Gruss,
Boris.
Sent from a fat crate under my desk. Formatting is fine.
--
--
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