Re: How many colours does the ARC cache have?

2023-02-18 Thread Matthew Wilcox
On Wed, Feb 15, 2023 at 08:59:18PM -0800, Vineet Gupta wrote: > On 2/10/23 09:06, Matthew Wilcox wrote: > > I see a discrepancy here ... > > > > arch/arc/include/asm/shmparam.h: > > /* Handle upto 2 cache bins */ > > #define SHMLBA (2 * PAGE_SIZE) > > > > arch/arc/include/asm/cacheflush.h: > > #

[PATCH v6 13/41] mm: Make pte_mkwrite() take a VMA

2023-02-18 Thread Rick Edgecombe
The x86 Control-flow Enforcement Technology (CET) feature includes a new type of memory called shadow stack. This shadow stack memory has some unusual properties, which requires some core mm changes to function properly. One of these unusual properties is that shadow stack memory is writable, but