Messages in this thread |  | | From | "H.J. Lu" <> | Date | Fri, 5 Feb 2021 07:42:36 -0800 | Subject | Re: [RFC 9/9] x86/mm: Implement PR_SET/GET_TAGGED_ADDR_CTRL with LAM |
| |
On Fri, Feb 5, 2021 at 7:16 AM Kirill A. Shutemov <kirill.shutemov@linux.intel.com> wrote: > > Provide prctl() interface to enabled LAM for user addresses. Depending > how many tag bits requested it may result in enabling LAM_U57 or > LAM_U48.
I prefer the alternate kernel interface based on CET arch_prctl interface which is implemented in glibc on users/intel/lam/master branch:
https://gitlab.com/x86-glibc/glibc/-/tree/users/intel/lam/master
and in GCC on users/intel/lam/master branch:
https://gitlab.com/x86-gcc/gcc/-/tree/users/intel/lam/master
-- H.J.
|  |