Messages in this thread |  | | Date | Tue, 29 Mar 2005 09:30:44 +0300 | From | Pekka Enberg <> | Subject | Re: [PATCH] no need to check for NULL before calling kfree() -fs/ext2/ |
| |
On Mon, 28 Mar 2005 21:52:57 -0500, Lee Revell <rlrevell@joe-job.com> wrote: > I see kfree used in several hot paths. Check out > this /proc/latency_trace excerpt:
Yes, but is the pointer being free'd NULL most of the time? The optimization does not help if you are releasing actual memory.
Pekka - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |