Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1237428
| From | Steven Rostedt <rostedt@goodmis.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] trace/ftrace.c: remove redundant swap function |
| Date | 2015-10-01 15:40 +0200 |
| Message-ID | <qeMfw-5PR-7@gated-at.bofh.it> (permalink) |
| References | <q6V6i-6DS-31@gated-at.bofh.it> <qevy2-6hR-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 30 Sep 2015 21:43:38 +0200 Rasmus Villemoes <linux@rasmusvillemoes.dk> wrote: > On Wed, Sep 09 2015, Rasmus Villemoes <linux@rasmusvillemoes.dk> wrote: > > ping Both your patches look good. I applied both of them to my tree for the 4.4 window. I'll post them to linux-next after they've gone through my test suite. But currently my tests are running -rt code, and I may not get to them till I get back from LinuxCon EU. But they are in the queue. Thanks! -- Steve > > > To cover the common case of sorting an array of pointers, Daniel > > Wagner recently modified the library sort() to use a specific swap > > function for size==8, in addition to the size==4 case which was > > already handled. Since sizeof(long) is either 4 or 8, > > ftrace_swap_ips() is redundant and we can just let sort() pick an > > appropriate and fast swap callback. > > > > Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> > -- 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/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH] trace/ftrace.c: remove redundant swap function Rasmus Villemoes <linux@rasmusvillemoes.dk> - 2015-09-30 21:50 +0200 Re: [PATCH] trace/ftrace.c: remove redundant swap function Steven Rostedt <rostedt@goodmis.org> - 2015-10-01 15:40 +0200
csiph-web