Skip to content

Instantly share code, notes, and snippets.

@devyn
Last active February 21, 2021 09:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devyn/31bc6b62eef090199241c33e7aee80b4 to your computer and use it in GitHub Desktop.
Save devyn/31bc6b62eef090199241c33e7aee80b4 to your computer and use it in GitHub Desktop.

Config diff

 CFS_BANDWIDTH n -> y
 SCHED_WALT y -> n
 MEMCG_SWAP n -> y
+MEMCG_SWAP_ENABLED y

Note

SCHED_WALT must be "n" because it has a bug when CFS_BANDWIDTH is in use, see https://android.googlesource.com/kernel/common/+/d342ee64906fe8cb0a36ec8063ae4118aeb57620

I thought about using USB_UAS but I always had issues with my JMicron controllers in that mode with this kernel. Maybe a future kernel fixes them because I don't quite have such bad issues on my desktop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment