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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 29 Jun 2011 22:20:33 -0400 From: Ted Ts'o <tytso@....edu> To: Steven Liu <lingjiujianke@...il.com> Cc: linux-ext4@...r.kernel.org Subject: Re: [PATCH] ext4: remove loop around bio_alloc() On Thu, Jun 30, 2011 at 10:12:25AM +0800, Steven Liu wrote: > > + bio = bio_alloc(GFP_NOIO, min(nvecs, BIO_MAX_PAGES)); > Is this needn't to check if bio_alloc success? No, that was the point of this patch. See the commit description. Also see the comment for bio_alloc() in fs/bio.c, and note that the __GFP_WAIT bit is set in GFP_NOFS. Regards, - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists