[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160507.134048.139772599380708393.davem@davemloft.net>
Date: Sat, 07 May 2016 13:40:48 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: decui@...rosoft.com
Cc: gregkh@...uxfoundation.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, devel@...uxdriverproject.org,
olaf@...fle.de, apw@...onical.com, jasowang@...hat.com,
cavery@...hat.com, kys@...rosoft.com, haiyangz@...rosoft.com,
joe@...ches.com, vkuznets@...hat.com
Subject: Re: [PATCH v9 net-next 1/2] hv_sock: introduce Hyper-V Sockets
From: Dexuan Cui <decui@...rosoft.com>
Date: Sat, 7 May 2016 10:49:25 +0000
> I should be able to make 'send', 'recv' here to pointers and use vmalloc()
> to allocate the memory for them. I will do this.
That's still unswappable kernel memory.
People can open N sockets, where N is something on the order of the FD
limit the process has, per process. This allows someone to quickly
eat up a lot of memory and hold onto it nearly indefinitely.
Powered by blists - more mailing lists