Miklos Szeredi wrote:
This function is called from everywhere, and so, it looks like it should
use SLAB_NOFS rather than SLAB_KERNEL. I would audit every GFP_KERNEL
and SLAB_KERNEL usage, and consider replacing with SLAB_NOFS or GFP_NOFS.
GFP_NOFS doesn't make much sense, since mm never calls back into FUSE
anyway: FUSE writes through the page-cache, and hence never dirties
any pages.
I'll add a comment to fuse_request_alloc().
If you're using loop, particularly something insane like swapping over
loop, "the path" will certainly want to know that its passing through
the VFS layer, regardless of specific page cache behavior, AFAICS.
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]