Re: [RFC PATCH v4 4/9] mm/mmap: Add IBT bitmap size to address space limit check

2018-10-03 Thread Eugene Syromiatnikov
On Fri, Sep 21, 2018 at 08:05:48AM -0700, 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. > > Signed-off-by: Yu-che

[RFC PATCH v4 4/9] mm/mmap: Add IBT bitmap size to address space limit check

2018-09-21 Thread Yu-cheng Yu
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. Signed-off-by: Yu-cheng Yu --- arch/x86/include/uapi/asm/resource.h | 5 + include/uapi