Re: [RFC PATCH v3 0/7] ktask: multithread CPU-intensive kernel work

From: Andrew Morton
Date: Tue Dec 05 2017 - 17:23:33 EST


On Tue, 5 Dec 2017 14:52:13 -0500 Daniel Jordan <daniel.m.jordan@xxxxxxxxxx> wrote:

> This patchset is based on 4.15-rc2 plus one mmots fix[*] and contains three
> ktask users:
> - deferred struct page initialization at boot time
> - clearing gigantic pages
> - fallocate for HugeTLB pages

Performance improvements are nice. How much overall impact is there in
real-world worklaods?

> Work in progress:
> - Parallelizing page freeing in the exit/munmap paths

Also sounds interesting. Have you identified any other parallelizable
operations? vfs object teardown at umount time may be one...

> - CPU hotplug support

Of what? The ktask infrastructure itself?