Re: [PATCH] vmstat_update: ensure work remains on the same core

From: Linus Torvalds
Date: Fri Oct 16 2015 - 15:55:19 EST


On Fri, Oct 16, 2015 at 12:51 PM, Chris Metcalf <cmetcalf@xxxxxxxxxx> wrote:
> By using schedule_delayed_work(), we are preferring the local
> core for the work, but not requiring it.

Heh. See commit 176bed1de5bf.

I added curly braces, because I hate the "half-bracing" that the code
had (ie a "else" statement with curly braces on one side but not the
other), but otherwise identical patches, I think.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/