Announcement

Collapse
No announcement yet.

Intel Linear Address Masking "LAM" Ready For Linux 6.2

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • mistvieh
    replied
    Sounds to me like they want to catch up with what Arm has with the "TBI" (top byte ignore) and later "MTE" (memory tagging extension), which is handy for bringing memory footprint with things like (K)ASAN down.

    Leave a comment:


  • morydris
    replied
    The presentation does a terrible job at selling this. It's a ton of work for something that has an easy software alternative - which could be accelerated via instruction fusion. Where is the massive upside that justifies this?

    Leave a comment:


  • rastersoft
    replied
    So... exactly what does this? If I understand it right, it just means that you can say to the processor "hey, I will use only the X lower bits of the pointers, and the upper bits will be flags, so ignore them when I use a pointer". Is that?

    Because if that is the case, I would have accepted that up to 1990, but not in 2022...

    Leave a comment:


  • schmidtbag
    replied
    Seems nice but the kind of thing that would have made sense to pursue a decade ago, back when memory was more limited and people needed more convincing to upgrade to a 64 bit OS.

    Leave a comment:


  • skeevy420
    replied
    So Intel's on the LAM



    Leave a comment:


  • bezirg
    replied
    Originally posted by Michael View Post

    Thanks.

    As mentioned in the article, I haven't seen Intel explicitly state supported processors/plans -- unless it was quietly done elsewhere that I haven't noticed. The programming reference manual continues to just say "future processors"
    I see ithis code n the aforementioned patch. Unfortunately I am not verse in the cpuid_count intrinsic and I don't have some new intel system to test it out.

    ```
    static inline int cpu_has_lam(void)
    {
    unsigned int cpuinfo[4];

    __cpuid_count(0x7, 1, cpuinfo[0], cpuinfo[1], cpuinfo[2], cpuinfo[3]);

    return (cpuinfo[0] & (1 << 26));
    }
    ​```
    Last edited by bezirg; 14 November 2022, 08:03 AM.

    Leave a comment:


  • Michael
    replied
    Originally posted by bezirg View Post
    Typo:

    "The Intel LAN kernel patches"

    Should be Intel LAM.

    Which intel processor families support this Intel Lam?


    ​​​​​​
    Thanks.

    As mentioned in the article, I haven't seen Intel explicitly state supported processors/plans -- unless it was quietly done elsewhere that I haven't noticed. The programming reference manual continues to just say "future processors"

    Leave a comment:


  • bezirg
    replied
    Typo:

    "The Intel LAN kernel patches"

    Should be Intel LAM.

    Which intel processor families support this Intel Lam?


    ​​​​​​

    Leave a comment:


  • phoronix
    started a topic Intel Linear Address Masking "LAM" Ready For Linux 6.2

    Intel Linear Address Masking "LAM" Ready For Linux 6.2

    Phoronix: Intel Linear Address Masking "LAM" Ready For Linux 6.2

    Going back to late 2020 Intel's open-source/Linux engineers have been working on Linear Address Masking "LAM" enablement for that feature coming with future processors. With the upcoming Linux 6.2, the kernel-side enablement for Intel LAM appears to be finally wrapped up...

    https://www.phoronix.com/news/Intel-LAM-Linux-6.2
Working...
X