lkml.org 
[lkml]   [2015]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] block: loop: use kmap(page) instead of page_address(page)
On Tue, Mar 24, 2015 at 06:49:00PM +0800, Ming Lei wrote:
> On 32bit system, this still may cause pressure on page allocation, since
> requests are handled concurrently now after using workqueue.

kmap slots are from a much smaller resource pool than non-highmem
allocations, so if a page needs to stay kmaped from allocation time until
freeing it it should just be allocated as a kernel mapped page.


\
 
 \ /
  Last update: 2015-03-24 12:21    [W:0.088 / U:1.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site