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]
Date:	Wed, 24 Sep 2014 12:26:32 +0200
From:	Christoph Hellwig <hch@....de>
To:	Ming Lei <ming.lei@...onical.com>
Cc:	Jens Axboe <axboe@...nel.dk>, linux-kernel@...r.kernel.org,
	Christoph Hellwig <hch@....de>
Subject: Re: [PATCH v4 10/10] blk-mq: support per-distpatch_queue flush
	machinery

> +struct blk_flush_queue *blk_alloc_flush_queue(struct request_queue *q,
> +		struct blk_mq_hw_ctx *hctx, int cmd_size)

I still think this should pass in the numa node instead of the hctx, and
allow node-local allocation for the old code as well.  As mentioned earlier
initializing mq_flush_lock for the !mq case is harmless. 


We also should document it where cleary somewhere that for devices that
have flushes enabled ->init_request can be called for more requests than
the queue depth, as drivers might allocate some sort of pool for them.
--
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