Files
linux/fs/xfs
Darrick J. Wong 0185496a11 xfs: remove kmem_zalloc_greedy
[ Upstream commit 08b005f133 ]

The sole remaining caller of kmem_zalloc_greedy is bulkstat, which uses
it to grab 1-4 pages for staging of inobt records.  The infinite loop in
the greedy allocation function is causing hangs[1] in generic/269, so
just get rid of the greedy allocator in favor of kmem_zalloc_large.
This makes bulkstat somewhat more likely to ENOMEM if there's really no
pages to spare, but eliminates a source of hangs.

[1] http://lkml.kernel.org/r/20170301044634.rgidgdqqiiwsmfpj%40XZHOUW.usersys.redhat.com

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-08 10:14:20 +02:00
..
2014-07-30 09:12:05 +10:00
2017-10-08 10:14:20 +02:00
2017-10-08 10:14:20 +02:00
2013-05-07 18:45:36 -05:00
2012-11-19 20:11:24 -06:00
2015-11-10 10:09:45 +11:00
2015-06-22 09:44:02 +10:00
2017-06-14 13:16:24 +02:00
2013-08-12 16:56:06 -05:00
2017-10-08 10:14:20 +02:00
2013-05-07 18:45:36 -05:00
2015-03-04 16:06:38 +01:00
2015-02-23 21:22:31 +11:00
2013-05-07 18:45:36 -05:00