lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <551C18F4.2090407@redhat.com>
Date:	Wed, 01 Apr 2015 12:12:36 -0400
From:	Rik van Riel <riel@...hat.com>
To:	Jens Axboe <axboe@...nel.dk>,
	Frederic Weisbecker <fweisbec@...il.com>
CC:	axboe@...nel.org, fweisbec@...hat.com, mingo@...nel.org,
	linux-kernel@...r.kernel.org, lcapitulino@...hat.com,
	mtosatti@...hat.com
Subject: Re: [PATCH RFC] nohz,blk-mq: do not create blk-mq workqueues on nohz
 dedicated CPUs

On 03/31/2015 11:43 AM, Jens Axboe wrote:

> That'd be easy enough to do, that's how blk-mq handles offline CPUs as
> well. The attached patch is completely untested, but will handle offline
> or nohz CPUs in the same fashion - they will punt to hardware queue 0,
> which is mapped to CPU0 (and others, depending on the queue vs CPU ratio).

I have done some sanity testing with your patch,
starting a KVM guest with vcpus and emulator threads
all pinned to nohz_full cpus.

The guest is still able to do disk IO, so things
appear to work...

Thanks for looking into this, Jens.

Tested-by: Rik van Riel <riel@...hat.com>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ