Re: [PATCH 1/4] sched,time: remove non-power-of-two divides from __acct_update_integrals

From: Peter Zijlstra
Date: Mon Feb 01 2016 - 08:51:43 EST


On Mon, Feb 01, 2016 at 08:44:44AM -0500, Rik van Riel wrote:
> Before I send in a v4 with do_div in that location, are there
> any other changes you would like me to make to the code?

The WARN_ON(!irqs_disabled()) run and adding irq_save/restore to
acct_update_integrals() would be good :-)