High initial memory usage for gdm-session-worker process for every unlocked fscrypt user home directory with pam module
Recently I switched to fscrypt home directory encryption and noticed higher system memory usage than usual. Turns out, gdm-session-worker process uses about 140 MiB (according to GNOME System Monitor) for every unlocked user home directory. I'm using pam module for automatic unlocking at login. What's interesting, gdm-session-worker process memory usage goes slowly down when system is under memory pressure.
System Information
Arch Linux
Linux 5.9.1
GNOME 3.38.1
fscrypt 0.2.9