]> git.sesse.net Git - bcachefs-tools-debian/commit
Drop mlockall()
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 19 Dec 2023 04:21:43 +0000 (23:21 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Tue, 19 Dec 2023 04:21:43 +0000 (23:21 -0500)
commite9df26f9c9a9188ffb232a4883206a13cc710912
tree5f1cf04b66a7f3976f5d675fdad353b2ff736b68
parentf76d246fff1c3c5b091fb2b910067d893620dc5e
Drop mlockall()

now that we have
 - shrinkers running in the background via a thread
 - run_shrinkers() considering swap usage

this can probably be safely dropped - and it causes problems when
running as non root, so let's do so.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
bcachefs.c