lkml.org 
[lkml]   [2012]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] Move kfree outside pde_unload_lock
From
Date
On Tue, 2012-08-21 at 15:54 -0500, Nathan Zimmer wrote:
> + if (pdeo) {
> + kfree(pdeo);
> + }

Just make it unconditional. kfree(NULL) is a no-op.

--
dwmw2
[unhandled content-type:application/x-pkcs7-signature]
\
 
 \ /
  Last update: 2012-08-22 12:01    [W:0.045 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site