public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 0/6] remove dependency on __GFP_NOFAIL
@ 2010-08-17  2:57 David Rientjes
  2010-08-17  2:57 ` [patch 1/6] md: " David Rientjes
                   ` (5 more replies)
  0 siblings, 6 replies; 26+ messages in thread
From: David Rientjes @ 2010-08-17  2:57 UTC (permalink / raw)
  To: Andrew Morton, Steven Whitehouse, Jens Axboe, Chris Mason,
	Neil Brown, Alasdair G Kergon, Jan Kara, Anton Altaparmakov,
	Frederic Weisbecker
  Cc: linux-kernel

This patchset removes __GFP_NOFAIL from various allocations when those
callers don't have __GFP_FS set, meaning they cannot invoke the oom
killer to free memory.

This is the second phase of four for the total removal of __GFP_NOFAIL:
the remaining phases will introduce __GFP_KILLABLE to invoke the oom
killer to free memory for all remaining callers since they allow
__GFP_FS, and then __GFP_NOFAIL will be removed from the page allocator.

/* FIXME */ comments were added where potentially infinite loops were
added to the callers.  These always had the potential to infinitely loop
in the page allocator, but those loops will now occur in the caller
instead and some documentation of this behavior was necessary (grep for
__GFP_NOFAIL will no longer work when this effort is completed).

There's a benefit for the removal of __GFP_NOFAIL: we save several
branches in the page allocator if we can move this logic to the caller
instead.

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2010-08-23 22:22 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-17  2:57 [patch 0/6] remove dependency on __GFP_NOFAIL David Rientjes
2010-08-17  2:57 ` [patch 1/6] md: " David Rientjes
2010-08-23 19:26   ` Andrew Morton
2010-08-23 19:35     ` David Rientjes
2010-08-23 19:51       ` Andrew Morton
2010-08-23 20:03         ` David Rientjes
2010-08-23 20:01       ` Andrew Morton
2010-08-23 20:08         ` David Rientjes
2010-08-23 20:23           ` Andrew Morton
2010-08-23 20:37             ` David Rientjes
2010-08-23 20:09         ` Pekka Enberg
2010-08-23 20:13           ` David Rientjes
2010-08-23 20:29             ` Pekka Enberg
2010-08-23 20:40               ` David Rientjes
2010-08-17  2:57 ` [patch 2/6] btrfs: " David Rientjes
2010-08-17  2:57 ` [patch 3/6] gfs2: " David Rientjes
2010-08-17  2:58 ` [patch 4/6] jbd: " David Rientjes
2010-08-17  9:51   ` Jan Kara
2010-08-17 17:48     ` David Rientjes
2010-08-23 19:28     ` Andrew Morton
2010-08-23 22:03       ` Jan Kara
2010-08-23 22:11         ` Andrew Morton
2010-08-23 22:21           ` Jan Kara
2010-08-23 22:22           ` David Rientjes
2010-08-17  2:58 ` [patch 5/6] ntfs: " David Rientjes
2010-08-17  2:58 ` [patch 6/6] reiserfs: " David Rientjes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox