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] [day] [month] [year] [list]
Date:	Sat, 11 Jul 2015 07:54:31 -0400
From:	Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
To:	Christoph Hellwig <hch@...radead.org>
CC:	Bob Liu <bob.liu@...cle.com>, linux-kernel@...r.kernel.org,
	axboe@...com, xen-devel@...ts.xenproject.org,
	avanzini.arianna@...il.com, david.vrabel@...rix.com,
	marcus.granado@...rix.com, roger.pau@...rix.com
Subject: Re: [RESEND PATCH] xen/blkfront: convert to blk-mq APIs

On July 11, 2015 7:23:38 AM EDT, Christoph Hellwig <hch@...radead.org> wrote:
>On Sat, Jul 11, 2015 at 07:17:18AM -0400, Konrad Rzeszutek Wilk wrote:
>> The 'locked' parameter can be used to tell the function to not take
>the lock.
>> 
>> But it would drop the lock in both cases.
>
>Konrad,
>
>no conditional locking please.  Split the functionality up in multiple
>functions if you may call with or without a lock held.

That would work nicely too. Thanks!

--
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