mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-02 00:00:03 +03:00
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>
This commit is contained in:
parent
f76d246fff
commit
e9df26f9c9
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user