Messages in this thread | | | Date | Tue, 24 Mar 2015 19:24:02 +0800 | Subject | Re: [PATCH 1/3] block: loop: use kmap(page) instead of page_address(page) | From | Ming Lei <> |
| |
On Tue, Mar 24, 2015 at 7:09 PM, Christoph Hellwig <hch@lst.de> wrote: > 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.
Yeah, that makes sense to use non-highmem.
Thanks
| |