mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-01-23 00:07:07 +03:00
Don't use mlockall()
We're hitting -ENOMEM while running fsck - we appear to need memory overcommit, which mlockall() disables.
This commit is contained in:
parent
f39f0bde78
commit
c1dcd67f7d
@ -106,8 +106,6 @@ static void sched_init(void)
|
||||
{
|
||||
struct task_struct *p = malloc(sizeof(*p));
|
||||
|
||||
mlockall(MCL_CURRENT|MCL_FUTURE);
|
||||
|
||||
memset(p, 0, sizeof(*p));
|
||||
|
||||
p->state = TASK_RUNNING;
|
||||
|
Loading…
Reference in New Issue
Block a user