Re: __GFP_LOW

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

I'm not an expert in Linux, but something made me think something is broken in linux in this discussion.

First, I've noticed the network drivers were allocating memory in interrupt handlers. That sounds strange to me, because as far as I know, this behaviour is discouraged and may lead to DDOS attack.

> As I understand it, kswapd
> was originally introduced because networking might do many allocations
> from interrupt context, and so was unable to do its own reclaiming

Maybe this weird behaviour should be fixed instead of fixing memory allocator? Networking must not allocate anything, it must drop packets it cant handle at the moment. Sorry, we totally screwed up, shit happened, aliens are attacking, blahblahblah, but we won't allocate a byte for you.



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux