# Re: \[PATCH\] fdtable: Avoid triggering OOMs from alloc\_fdmem

- From: Eric Dumazet \<hidden\>
- Date: 2014-02-04 18:44:24 
- List: netdev
- Page: https://ratatoskr.run/netdev/2014/02/81861
- Thread: https://ratatoskr.run/linux-fsdevel/2014/02/81847/t.md

```text
On Tue, 2014-02-04 at 09:22 -0800, Eric W. Biederman wrote:

> The two code paths below certainly look good canidates for having
> __GFP_NORETRY added to them.  The same issues I ran into with
> alloc_fdmem are likely to show up there as well.

Yes, this is what I thought : a write into TCP socket should be more
frequent than the alloc_fdmem() case ;)

But then, maybe your workload was only using UDP ?


--
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>
```
