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
| ||
|
Date: Wed, 30 Apr 2008 10:10:13 +0900 From: "Takashi Sato" <t-sato@...jp.nec.com> To: "Christoph Hellwig" <hch@...radead.org> Cc: <linux-kernel@...r.kernel.org>, <linux-fsdevel@...r.kernel.org>, <dm-devel@...hat.com>, <xfs@....sgi.com>, <linux-ext4@...r.kernel.org> Subject: Re: [RFC PATCH 1/3] Implement generic freeze feature Hi, >> bd_mount_sem can protect against only freezes and cannot protect against >> unfreezes. If multiple unfreezes run in parallel, the multiple up() for >> bd_mount_sem might occur incorrectly. > > Indeed. The bit flag would fix that because unfreeze could then check > for the bit beeing set first. So that's probably the easiest way to go. I think the bit flag is more efficient than the semaphore. So I will consider whether it can be used for the freeze feature. Cheers, Takashi -- 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