diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-18 23:21:43 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-18 23:21:43 -0500 |
commit | e9df26f9c9a9188ffb232a4883206a13cc710912 (patch) | |
tree | 5f1cf04b66a7f3976f5d675fdad353b2ff736b68 | |
parent | f76d246fff1c3c5b091fb2b910067d893620dc5e (diff) |
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>
-rw-r--r-- | bcachefs.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -187,8 +187,6 @@ static int subvolume_cmds(int argc, char *argv[]) int main(int argc, char *argv[]) { - /* we don't want to swap */ - mlockall(MCL_FUTURE); raid_init(); full_cmd = argv[0]; |