]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: extent same: use GFP_KERNEL for page array allocations
authorDavid Sterba <dsterba@suse.com>
Thu, 11 Feb 2016 13:25:38 +0000 (14:25 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 11 Feb 2016 14:19:39 +0000 (15:19 +0100)
commite6d65ab69162e03b78afca7a6458ae8a8ee27c6b
treef1afc1565bb541f2ef303d2c8e66ed2e1db82a63
parente16f7a7d647b7ed5d9c9ab76dd6bb11db7447dbd
btrfs: extent same: use GFP_KERNEL for page array allocations

We can safely use GFP_KERNEL in the functions called from the ioctl
handlers. Here we can allocate up to 32k so less pressure to the
allocator could help.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ioctl.c