Re: [PATCH 01/12] buffer: have alloc_page_buffers() use __GFP_NOFAIL

2017-10-02 Thread Jan Kara
On Wed 27-09-17 14:13:48, Jens Axboe wrote: > Instead of adding weird retry logic in that function, utilize > __GFP_NOFAIL to ensure that the vm takes care of handling any > potential retries appropriately. This means we don't have to > call free_more_memory() from here. > > Signed-off-by: Jens

Re: [PATCH 01/12] buffer: have alloc_page_buffers() use __GFP_NOFAIL

2017-10-02 Thread Jan Kara
On Wed 27-09-17 14:13:48, Jens Axboe wrote: > Instead of adding weird retry logic in that function, utilize > __GFP_NOFAIL to ensure that the vm takes care of handling any > potential retries appropriately. This means we don't have to > call free_more_memory() from here. > > Signed-off-by: Jens

Re: [PATCH 01/12] buffer: have alloc_page_buffers() use __GFP_NOFAIL

2017-09-28 Thread Nikolay Borisov
On 27.09.2017 23:13, Jens Axboe wrote: > Instead of adding weird retry logic in that function, utilize > __GFP_NOFAIL to ensure that the vm takes care of handling any > potential retries appropriately. This means we don't have to > call free_more_memory() from here. > > Signed-off-by: Jens

Re: [PATCH 01/12] buffer: have alloc_page_buffers() use __GFP_NOFAIL

2017-09-28 Thread Nikolay Borisov
On 27.09.2017 23:13, Jens Axboe wrote: > Instead of adding weird retry logic in that function, utilize > __GFP_NOFAIL to ensure that the vm takes care of handling any > potential retries appropriately. This means we don't have to > call free_more_memory() from here. > > Signed-off-by: Jens

[PATCH 01/12] buffer: have alloc_page_buffers() use __GFP_NOFAIL

2017-09-27 Thread Jens Axboe
Instead of adding weird retry logic in that function, utilize __GFP_NOFAIL to ensure that the vm takes care of handling any potential retries appropriately. This means we don't have to call free_more_memory() from here. Signed-off-by: Jens Axboe --- drivers/md/bitmap.c

[PATCH 01/12] buffer: have alloc_page_buffers() use __GFP_NOFAIL

2017-09-27 Thread Jens Axboe
Instead of adding weird retry logic in that function, utilize __GFP_NOFAIL to ensure that the vm takes care of handling any potential retries appropriately. This means we don't have to call free_more_memory() from here. Signed-off-by: Jens Axboe --- drivers/md/bitmap.c | 2 +-