Re: [PATCH] x86/unwind: remove unneeded initialization
Peter Zijlstra <[email protected]> Thu, 29 Oct 2020 13:04:42 +0100
| Newsgroups | tech.elisa.lists.linux-safety,org.kernel.vger.kernel-janitors,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Oct 29, 2020 at 11:49:50AM +0000, Walter Harms wrote: > this looks like a reimplementation of bsearch() > perhaps the maintainer can add a comment why the > kernel implementation is not suitable here ? If you look carefully it doesn't do an exact match, which is what bsearch() does. bsearch() also isn't stable in the precense of duplicates.