Re: [PATCH v5] crypto: only call put_page on referenced and used pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 04, 2017 at 11:17:33PM +0200, Stephan Müller wrote:
> Hi Greg,
> 
> > Nope, this broke the build, sorry.  If you want it in 4.4-stable, please
> > provide a backported patch.
> 
> 
> The issue is the missing page_ref_count function which used to be
> atomic_read(&page->_count).
> 
> I am not fully sure how to properly provide a patch for old kernels. Below
> is a manually created patch that compiles and has the same logic. Please
> let me know if that patch is not suitable.

That works great, thanks.

> Note, this patch is only for 4.4 and earlier.

This doesn't apply to 3.18-stable, is it needed there?

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]