Re: [PATCH 2/11] FUSE - core

From: Miklos Szeredi
Date: Fri Jan 14 2005 - 09:34:16 EST


> I prefer the _NOFS regardless (and others will probably disagree) because
> it also means that if a machine is seriously running out of memory the fs
> will give up with -ENOMEM much more readily with _NOFS rather than
> increasing the memory pressure even further. As I said, others probably
> disagree with me...

Then you are suggesting to add __GFP_NORETRY, to all my allocations.
That's may well be a valid argument, if we want to treat userspace
filesystems less critical, than other things.

Adding _NOFS in the case where no deadlock is possible makes things
worse not better, since you are limiting the allocation from
performing I/O. It's clearly a losing situation.

Thanks,
Miklos
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/