Re: Minor page faults from memory compaction causing in-band transitions
Philippe Gerum <[email protected]>
| Newsgroups | dev.linux.lists.xenomai |
|---|---|
| Message-ID | <[email protected]> |
Florian Bezdeka <[email protected]> writes: > On Mon, 2026-04-13 at 20:31 +0200, Philippe Gerum wrote: >> Brandon Ho <[email protected]> writes: >> >> > Thank you for the responses! I recently came across the >> > `compact_unevictable_allowed` sysctl option and it seems like it could be a >> > good fit for our use case. Setting it to 0 would prevent the kernel from >> > compacting/migrating locked pages, which should eliminate the minor faults >> > we're seeing during compaction. >> > >> > Could we possibly set `compact_unevictable_allowed=0` by default when >> > CONFIG_EVL is enabled? >> >> Definitely, yes. Thanks for chasing this issue down. This patch is going >> to be merged upstream asap, you may want to apply it for a preview. > > Targeting linux-evl or linux-dovetail? > linux-dovetail, this is a general issue for any latency-sensitive code. -- Philippe.