Files
mirror_zfs/include/sys
Brian Behlendorf c89fdee4d3 Remove __GFP_NOFAIL in kmem and retry internally.
As of 2.6.31 it's clear __GFP_NOFAIL should no longer be used and it
may disappear from the kernel at any time.  To handle this I have simply
added *_nofail wrappers in the kmem implementation which perform the
retry for non-atomic allocations.

From linux-2.6.31 mm/page_alloc.c:1166
/*
 * __GFP_NOFAIL is not to be used in new code.
 *
 * All __GFP_NOFAIL callers should be fixed so that they
 * properly detect and handle allocation failures.
 *
 * We most definitely don't want callers attempting to
 * allocate greater than order-1 page units with
 * __GFP_NOFAIL.
 */
WARN_ON_ONCE(order > 1);
2009-11-12 15:11:24 -08:00
..
2009-07-09 15:00:25 -07:00
2008-03-08 00:58:32 +00:00
2009-01-09 14:04:13 -08:00
2008-03-12 23:48:28 +00:00
2009-10-30 13:58:51 -07:00
2009-01-06 09:47:00 -08:00
2009-01-09 16:04:44 -08:00
2008-03-05 00:58:54 +00:00
2009-01-09 16:04:44 -08:00
2008-03-05 00:58:54 +00:00
2009-10-30 13:58:51 -07:00
2009-03-19 21:40:07 -07:00
2008-03-14 00:04:01 +00:00
2008-03-14 00:04:01 +00:00
2009-01-09 09:47:27 -08:00
2008-03-14 00:04:01 +00:00
2008-03-15 00:05:38 +00:00
2009-01-09 09:47:27 -08:00
2008-03-14 00:04:01 +00:00
2009-10-30 13:58:51 -07:00
2009-02-17 16:30:58 -08:00
2009-01-09 14:04:13 -08:00
2008-03-13 20:41:29 +00:00
2008-03-15 00:05:38 +00:00
2008-03-13 20:41:29 +00:00
2008-03-12 23:48:28 +00:00
2009-02-19 11:26:17 -08:00
2008-12-23 13:32:07 -08:00
2008-12-23 13:18:39 -08:00
2008-12-23 15:40:20 -08:00
2008-12-23 13:32:07 -08:00
2008-03-14 00:04:01 +00:00
2008-03-08 00:18:21 +00:00
2008-03-14 00:04:01 +00:00
2009-11-10 14:06:57 -08:00
2008-03-12 23:48:28 +00:00