xfs
[Top] [All Lists]

Question about GFP_KERNEL argument in radix_tree_preload

To: david@xxxxxxxxxxxxx
Subject: Question about GFP_KERNEL argument in radix_tree_preload
From: Sanidhya Kashyap <sanidhya.gatech@xxxxxxxxx>
Date: Sun, 22 Mar 2015 23:49:34 -0400
Cc: changwoo@xxxxxxxxxx, "Kashyap, Sanidhya" <sanidhya@xxxxxxxxxx>, taesoo@xxxxxxxxxx, blee@xxxxxxxxxx, csong@xxxxxxxxxx, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=OCzsiqhS5e+uQ8atKoBoPelOWM/euVQMK2+/sMnnGDY=; b=LxOCqNkf209g1gts7BWopaa/4S6mamWV4GDA8gjdgzJ3537FG59p4Hfi9Q68OC0HPv VQJ8ASwS5F8xMpDpIwKbvM8vlsCqoRhlxlP4LER9/FINHpCRSbNJNd3CUnIH7ZE6/+Jo 42G221DNpuhwrD2445iSdSZVtzg1ARly5hhWgVj8mz4Mdw5SwUUofv8K+7xU7KOVE7A/ opkELAGwsuvurNO2wuP/ulkPwf7I0flpl6UwnL26ed/B3Uy+jxs6CZblgu3nLQC0cPn9 ubEbKH5qW4GjvWPOTkHMt3xqBW9JNZhZYzmEmKUAWfjXdaDV8vQm2VNXj+G3rVn6q1pN HVMw==
Hello David,

We have been doing some analysis on file systems and have a question
regarding the GFP_KERNEL flag used in radix_tree_preload in
xfs_mru_cache_insert.

We think that this should be GFP_NOFS as it is related to the block
allocation and other file systems(eg btrfs,ext2) are also using
GFP_NOFS for the same.

It would be great if you can let us know your reason for using that
flag and which one is the correct option?

Thanks,
Sanidhya

<Prev in Thread] Current Thread [Next in Thread>