diff options
author | 2011-09-21 15:05:58 -0400 | |
---|---|---|
committer | 2011-10-19 15:12:45 -0400 | |
commit | 3b16a4e3c355ee3c790473decfcf83d4faeb8ce0 (patch) | |
tree | 5c3dad941468cf6952623cc18d6b1e682ee3f264 /ipc/msgutil.c | |
parent | Btrfs: delay iput when deleting a block group (diff) | |
download | wireguard-linux-3b16a4e3c355ee3c790473decfcf83d4faeb8ce0.tar.xz wireguard-linux-3b16a4e3c355ee3c790473decfcf83d4faeb8ce0.zip |
Btrfs: use the inode's mapping mask for allocating pages
Johannes pointed out we were allocating only kernel pages for doing writes,
which is kind of a big deal if you are on 32bit and have more than a gig of ram.
So fix our allocations to use the mapping's gfp but still clear __GFP_FS so we
don't re-enter. Thanks,
Reported-by: Johannes Weiner <jweiner@redhat.com>
Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'ipc/msgutil.c')
0 files changed, 0 insertions, 0 deletions