Re: [RFC][PATCH] fs/buffer.c: Revoke LRU when trying to drop buffers

2013-07-04 Thread Damian Hobson-Garcia
Hi, I've come across a problem allocating chunks of CMA memory on a system under heavy disk access load which seems very similar to the situation described as the rationale for this patch: https://lkml.org/lkml/2012/9/11/335 Basically buffer headers sitting on the LRU list preventing them from

Re: [RFC][PATCH] fs/buffer.c: Revoke LRU when trying to drop buffers

2013-07-04 Thread Damian Hobson-Garcia
Hi, I've come across a problem allocating chunks of CMA memory on a system under heavy disk access load which seems very similar to the situation described as the rationale for this patch: https://lkml.org/lkml/2012/9/11/335 Basically buffer headers sitting on the LRU list preventing them from

Re: [RFC][PATCH] fs/buffer.c: Revoke LRU when trying to drop buffers

2012-09-17 Thread Laura Abbott
Hi, On 9/14/2012 6:41 PM, Hugh Dickins wrote: On Tue, 11 Sep 2012, Laura Abbott wrote: When a buffer is added to the LRU list, a reference is taken which is not dropped until the buffer is evicted from the LRU list. This is the correct behavior, however this LRU reference will prevent the

Re: [RFC][PATCH] fs/buffer.c: Revoke LRU when trying to drop buffers

2012-09-17 Thread Laura Abbott
Hi, On 9/14/2012 6:41 PM, Hugh Dickins wrote: On Tue, 11 Sep 2012, Laura Abbott wrote: When a buffer is added to the LRU list, a reference is taken which is not dropped until the buffer is evicted from the LRU list. This is the correct behavior, however this LRU reference will prevent the

Re: [RFC][PATCH] fs/buffer.c: Revoke LRU when trying to drop buffers

2012-09-14 Thread Hugh Dickins
On Tue, 11 Sep 2012, Laura Abbott wrote: > When a buffer is added to the LRU list, a reference is taken which is > not dropped until the buffer is evicted from the LRU list. This is the > correct behavior, however this LRU reference will prevent the buffer > from being dropped. This means that the

Re: [RFC][PATCH] fs/buffer.c: Revoke LRU when trying to drop buffers

2012-09-14 Thread Hugh Dickins
On Tue, 11 Sep 2012, Laura Abbott wrote: When a buffer is added to the LRU list, a reference is taken which is not dropped until the buffer is evicted from the LRU list. This is the correct behavior, however this LRU reference will prevent the buffer from being dropped. This means that the

[RFC][PATCH] fs/buffer.c: Revoke LRU when trying to drop buffers

2012-09-11 Thread Laura Abbott
When a buffer is added to the LRU list, a reference is taken which is not dropped until the buffer is evicted from the LRU list. This is the correct behavior, however this LRU reference will prevent the buffer from being dropped. This means that the buffer can't actually be dropped until it is

[RFC][PATCH] fs/buffer.c: Revoke LRU when trying to drop buffers

2012-09-11 Thread Laura Abbott
When a buffer is added to the LRU list, a reference is taken which is not dropped until the buffer is evicted from the LRU list. This is the correct behavior, however this LRU reference will prevent the buffer from being dropped. This means that the buffer can't actually be dropped until it is