Re: kfree(NULL)

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

 



On Fri, 21 Apr 2006, Daniel Walker wrote:

> 	I included a patch , not like it's needed . Recently I've been
> evaluating likely/unlikely branch prediction .. One thing that I found 
> is that the kfree function is often called with a NULL "objp" . In fact
> it's so frequent that the "unlikely" branch predictor should be inverted!
> Or at least on my configuration. 

It would be helpful to collect some stats on this so we can look at the 
ratio.


- James
-- 
James Morris
<[email protected]>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux