lkml.org 
[lkml]   [2014]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: zram: zsmalloc calls sleeping function from atomic context
On 17/03/14 23:01, Andrew Morton wrote:
>
> OK, thanks. David, there's our atomic unmap and there are probably
> others. Converting a previously-atomic utility function into one which
> can sleep is going to be difficult.

I think we should drop these patches. I think Fujitsu were doing
something particularly odd with an out-of-tree driver.

> Or can this code which vmaps 50GB be changed to unmap it in 16MB chunks
> via unmap_kernel_range(), with a cond_resched() in the loop?

This sounds like something the people from Fujitsu can explore.

David


\
 
 \ /
  Last update: 2014-03-18 13:41    [W:0.074 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site