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
| ||
|
Message-ID: <871vpz6iu5.fsf@basil.nowhere.org> Date: Fri, 05 Jun 2009 13:06:10 +0200 From: Andi Kleen <andi@...stfloor.org> To: Igor Zhbanov <izh1979@...il.com> Cc: linux-kernel@...r.kernel.org Subject: Re: Can kmalloc( ) with __GFP_WAIT flag fail? Igor Zhbanov <izh1979@...il.com> writes: > Hello! > > Can kmalloc( ) fail when invoked with __GFP_WAIT flag (which is > implied by GFP_KERNEL)? Yes it can fail. > And for what reason it may fail? When the kernel is out of memory. -Andi -- ak@...ux.intel.com -- Speaking for myself only. -- 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/