diff options
author | Michal Hocko <mhocko@suse.com> | 2017-05-03 23:53:26 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-04 00:52:09 +0200 |
commit | eb52da3f48f5b1ddceb7e8d4725b6c88204aa2c4 (patch) | |
tree | 1be347a43a1b078178521f0e36f5e45d6c565608 /scripts/extract-ikconfig | |
parent | jbd2: mark the transaction context with the scope GFP_NOFS context (diff) | |
download | linux-eb52da3f48f5b1ddceb7e8d4725b6c88204aa2c4.tar.xz linux-eb52da3f48f5b1ddceb7e8d4725b6c88204aa2c4.zip |
jbd2: make the whole kjournald2 kthread NOFS safe
kjournald2 is central to the transaction commit processing. As such any
potential allocation from this kernel thread has to be GFP_NOFS. Make
sure to mark the whole kernel thread GFP_NOFS by the memalloc_nofs_save.
[akpm@linux-foundation.org: coding-style fixes]
Link: http://lkml.kernel.org/r/20170306131408.9828-8-mhocko@kernel.org
Signed-off-by: Michal Hocko <mhocko@suse.com>
Suggested-by: Jan Kara <jack@suse.cz>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Cc: Chris Mason <clm@fb.com>
Cc: David Sterba <dsterba@suse.cz>
Cc: Brian Foster <bfoster@redhat.com>
Cc: Darrick J. Wong <darrick.wong@oracle.com>
Cc: Nikolay Borisov <nborisov@suse.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/extract-ikconfig')
0 files changed, 0 insertions, 0 deletions