diff options
author | Konstantin Khlebnikov <khlebnikov@yandex-team.ru> | 2016-03-14 00:29:06 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-03-14 00:29:06 +0300 |
commit | adb7ef600cc9d9d15ecc934cc26af5c1379777df (patch) | |
tree | 9e3e1c7ab516d9646e00bd3954c501dd9a0ac0d2 /lib/seq_buf.c | |
parent | a2821e34df141ac6019552618b57fa09227ff0dd (diff) | |
download | linux-adb7ef600cc9d9d15ecc934cc26af5c1379777df.tar.xz |
ext4: use __GFP_NOFAIL in ext4_free_blocks()
This might be unexpected but pages allocated for sbi->s_buddy_cache are
charged to current memory cgroup. So, GFP_NOFS allocation could fail if
current task has been killed by OOM or if current memory cgroup has no
free memory left. Block allocator cannot handle such failures here yet.
Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'lib/seq_buf.c')
0 files changed, 0 insertions, 0 deletions