Re: [RFC v2] mm: add page preemption

Hillf Danton
2019-10-28T13:55:52Z

Date: Mon, 28 Oct 2019 15:26:09 +0300 Kirill A. Shutemov wrote:
>
> On Sat, Oct 26, 2019 at 07:28:08PM +0800, Hillf Danton wrote:
> > @@ -218,6 +219,9 @@ struct page {
> >
> > #ifdef LAST_CPUPID_NOT_IN_PAGE_FLAGS
> > int _last_cpupid;
> > +#else
> > + int prio;
> > +#define CONFIG_PAGE_PREEMPTION PP
> > #endif
> > } _struct_page_alignment;
> >
> [...]
> a lot of cache misses that this change would generate.

Queued on todo list. Thanks.

Hillf