Re: [RFC 1/3] mm: Add VM pressure notifications

2012-11-13 Thread Jonathan Corbet
On Wed, 7 Nov 2012 03:01:28 -0800 Anton Vorontsov wrote: > This patch introduces vmpressure_fd() system call. The system call creates > a new file descriptor that can be used to monitor Linux' virtual memory > management pressure. I noticed a couple of quick things as I was looking this over...

Re: [RFC 1/3] mm: Add VM pressure notifications

2012-11-08 Thread Kirill A. Shutemov
On Thu, Nov 08, 2012 at 05:01:24PM +, Mel Gorman wrote: > (Sorry about being very late reviewing this) > > On Wed, Nov 07, 2012 at 03:01:28AM -0800, Anton Vorontsov wrote: > > This patch introduces vmpressure_fd() system call. The system call creates > > a new file descriptor that can be used

Re: [RFC 1/3] mm: Add VM pressure notifications

2012-11-08 Thread Mel Gorman
(Sorry about being very late reviewing this) On Wed, Nov 07, 2012 at 03:01:28AM -0800, Anton Vorontsov wrote: > This patch introduces vmpressure_fd() system call. The system call creates > a new file descriptor that can be used to monitor Linux' virtual memory > management pressure. There are thre

[RFC 1/3] mm: Add VM pressure notifications

2012-11-07 Thread Anton Vorontsov
This patch introduces vmpressure_fd() system call. The system call creates a new file descriptor that can be used to monitor Linux' virtual memory management pressure. There are three discrete levels of the pressure: VMPRESSURE_LOW: Notifies that the system is reclaiming memory for new allocations