Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1356753

Re: [PATCH RFC] ext4: use __GFP_NOFAIL in ext4_free_blocks()

From Theodore Ts'o <tytso@mit.edu>
Newsgroups linux.kernel
Subject Re: [PATCH RFC] ext4: use __GFP_NOFAIL in ext4_free_blocks()
Date 2016-03-13 22:40 +0100
Message-ID <rclTX-2N8-7@gated-at.bofh.it> (permalink)
References <r5L6N-7D3-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Feb 24, 2016 at 08:09:12PM +0300, Konstantin Khlebnikov wrote:
> 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>

Thanks, applied.

					- Ted

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH RFC] ext4: use __GFP_NOFAIL in ext4_free_blocks() Theodore Ts'o <tytso@mit.edu> - 2016-03-13 22:40 +0100

csiph-web