Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7a9261b authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "vmstat: Remove BUG_ON from vmstat_update"

parents 6202eb5c eb94ae1d
Loading
Loading
Loading
Loading
+1 −11
Original line number Diff line number Diff line
@@ -1374,17 +1374,7 @@ static void vmstat_update(struct work_struct *w)
		 * Defer the checking for differentials to the
		 * shepherd thread on a different processor.
		 */
		int r;
		/*
		 * Shepherd work thread does not race since it never
		 * changes the bit if its zero but the cpu
		 * online / off line code may race if
		 * worker threads are still allowed during
		 * shutdown / startup.
		 */
		r = cpumask_test_and_set_cpu(smp_processor_id(),
			cpu_stat_off);
		VM_BUG_ON(r);
		cpumask_set_cpu(smp_processor_id(), cpu_stat_off);
	}
}