From: ppvk@codeaurora.org
To: Matthew Wilcox <willy@infradead.org>
Cc: miklos@szeredi.hu, linux-fsdevel@vger.kernel.org,
stummala@codeaurora.org, sayalil@codeaurora.org
Subject: Re: [PATCH V3] fuse: Remove __GFP_FS flag to avoid allocator recursing
Date: Thu, 08 Oct 2020 11:33:33 +0530 [thread overview]
Message-ID: <f5bb26f0b727d78e3fb685b975163d9f@codeaurora.org> (raw)
In-Reply-To: <077d4fc0e56db4f4433542e9fe971190@codeaurora.org>
On 2020-09-24 20:26, ppvk@codeaurora.org wrote:
> On 2020-09-23 18:19, Matthew Wilcox wrote:
>> On Wed, Sep 23, 2020 at 11:27:55AM +0530, Pradeep P V K wrote:
>>> Changes since V2:
>>> - updated memalloc_nofs_save() to allocation paths that potentially
>>> can cause deadlock.
>>
>> That's the exact opposite of what I said to do. Again, the *THREAD*
>> is the thing which must not block, not the *ALLOCATION*. So you
>> set this flag *ON THE THREAD*, not *WHEN IT DOES AN ALLOCATION*.
>> If that's not clear, please ask again.
>
> The fuse threads are created and started in external libfuse userspace
> library functions but not in Kernel. The lowest entry point for these
> threads
> to enter in kernel is fuse_dev_read()/fuse_dev_splice_read().
>
> So, can we suppose to use memalloc_nofs_save() from
> external userspace library functions ?
>
> Even if we used, can you confirm, if the context of
> memalloc_nofs_save()
> can be persist in kernel ? (when the thread enters into kernel space).
>
> Also, i didn't see memalloc_nofs_save() been used/called from any
> external userspace library functions.
>
>
> Thanks and Regards,
> Pradeep
Friendly Reminder !!
prev parent reply other threads:[~2020-10-08 6:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-23 5:57 [PATCH V3] fuse: Remove __GFP_FS flag to avoid allocator recursing Pradeep P V K
2020-09-23 12:49 ` Matthew Wilcox
2020-09-24 14:56 ` ppvk
2020-10-08 6:03 ` ppvk [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f5bb26f0b727d78e3fb685b975163d9f@codeaurora.org \
--to=ppvk@codeaurora.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=miklos@szeredi.hu \
--cc=sayalil@codeaurora.org \
--cc=stummala@codeaurora.org \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.