Re: [PATCH hurd 1/2] libpager: make the request queue more memory-efficient

2014-11-23 Thread Samuel Thibault
Justus Winter, le Sun 23 Nov 2014 23:06:58 +0100, a écrit : > Previously, `pager_demuxer' allocated a chunk of memory for the > response message. But if memory gets scarce, the kernel will issue a > large number of paging requests to free up memory. In such a > situation, allocating memory is dan

[PATCH hurd 1/2] libpager: make the request queue more memory-efficient

2014-11-23 Thread Justus Winter
Previously, `pager_demuxer' allocated a chunk of memory for the response message. But if memory gets scarce, the kernel will issue a large number of paging requests to free up memory. In such a situation, allocating memory is dangerous. Fix this by not allocating space for the response message,