Thread (123 messages) 123 messages, 12 authors, 2018-08-14

Re: [RFC PATCH v2 23/27] mm/mmap: Add IBT bitmap size to address space limit check

From: Dave Hansen <dave.hansen@linux.intel.com>
Date: 2018-07-10 23:57:45
Also in: linux-api, linux-arch, linux-mm, lkml

On 07/10/2018 03:26 PM, Yu-cheng Yu wrote:
The indirect branch tracking legacy bitmap takes a large address
space.  This causes may_expand_vm() failure on the address limit
check.  For a IBT-enabled task, add the bitmap size to the
address limit.
This appears to require that we set up
current->thread.cet.ibt_bitmap_size _before_ calling may_expand_vm().
What keeps the ibt_mmap() itself from hitting the address limit?
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help