Christoph Hellwig 664b60f6ba xfs: improve kmem_realloc
Use krealloc to implement our realloc function.  This helps to avoid
new allocations if we are still in the slab bucket.  At least for the
bmap btree root that's actually the common case.

This also allows removing the now unused oldsize argument.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2016-04-06 09:47:01 +10:00
..
2016-04-06 09:47:01 +10:00
2014-07-30 09:12:05 +10:00
2016-04-06 09:47:01 +10:00
2016-04-06 09:47:01 +10:00
2016-03-18 11:42:53 -04:00
2013-05-07 18:45:36 -05:00
2016-03-21 11:53:05 -07:00
2016-03-21 11:53:05 -07:00
2013-08-12 16:53:39 -05:00
2016-03-21 11:53:05 -07:00
2016-02-10 15:01:30 +11:00
2015-06-22 09:44:02 +10:00
2016-02-09 16:54:58 +11:00
2013-08-12 16:56:06 -05:00
2016-02-09 16:54:58 +11:00
2016-04-06 09:47:01 +10:00
2013-05-07 18:45:36 -05:00
2016-04-06 09:47:01 +10:00
2016-01-22 18:04:28 -05:00
2016-03-18 11:42:53 -04:00
2013-05-07 18:45:36 -05:00