Thread (57 messages) 57 messages, 13 authors, 2017-05-02

Re: [PATCH] block,blkcg: use __GFP_NOWARN for best-effort allocations in blkcg

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2016-11-29 17:18:37
Also in: lkml

On Tue, Nov 29, 2016 at 9:13 AM, Michal Hocko [off-list ref] wrote:
How does this look like?
No.

I *really* want people to write out that "I am ok with the allocation failing".

It's not an "inconvenience". It's a sign that you are competent and
that you know it will fail, and that you can handle it.

If you don't show that you know that, we warn about it.

And no, "GFP_NOWAIT" does *not* mean "I have a good fallback".

             Linus

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help