stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: Greg KH <greg@kroah.com>
Cc: stable@vger.kernel.org
Subject: Re: [PATCH 4.19 14/14] lib/list_sort: simplify and remove MAX_LIST_LENGTH_BITS
Date: Fri, 3 Apr 2020 10:22:29 +0100	[thread overview]
Message-ID: <20200403092229.GC30614@dell> (raw)
In-Reply-To: <20200403091337.GB3739689@kroah.com>

On Fri, 03 Apr 2020, Greg KH wrote:

> On Thu, Apr 02, 2020 at 08:12:20PM +0100, Lee Jones wrote:
> > From: George Spelvin <lkml@sdf.org>
> > 
> > [ Upstream commit 043b3f7b6388fca6be86ca82979f66c5723a0d10 ]
> > 
> > Rather than a fixed-size array of pending sorted runs, use the ->prev
> > links to keep track of things.  This reduces stack usage, eliminates
> > some ugly overflow handling, and reduces the code size.
> > 
> > Also:
> > * merge() no longer needs to handle NULL inputs, so simplify.
> > * The same applies to merge_and_restore_back_links(), which is renamed
> >   to the less ponderous merge_final().  (It's a static helper function,
> >   so we don't need a super-descriptive name; comments will do.)
> > * Document the actual return value requirements on the (*cmp)()
> >   function; some callers are already using this feature.
> > 
> > x86-64 code size 1086 -> 739 bytes (-347)
> > 
> > (Yes, I see checkpatch complaining about no space after comma in
> > "__attribute__((nonnull(2,3,4,5)))".  Checkpatch is wrong.)
> > 
> > Feedback from Rasmus Villemoes, Andy Shevchenko and Geert Uytterhoeven.
> 
> Random patch chosen from the list, why is this needed?  What issue does
> this fix?  Where did it come from?
> 
> Also, you need to cc: all of the people involved in a patch for when you
> submit them to the stable trees, to give them a chance to weigh in and
> say "no, that should not go there."
> 
> Please do that for all of these series, and provide a 00/XX email.  I'm
> dropping them all from my queue for now, thanks.

Will do.  Thanks for the feedback.

-- 
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

  reply	other threads:[~2020-04-03  9:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-02 19:12 [PATCH 4.19 01/14] clk: qcom: rcg: Return failure for RCG update Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 02/14] drm/msm: stop abusing dma_map/unmap for cache Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 03/14] arm64: Fix size of __early_cpu_boot_status Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 04/14] drm_dp_mst_topology: fix broken drm_dp_sideband_parse_remote_dpcd_read() Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 05/14] wil6210: check rx_buff_mgmt before accessing it Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 06/14] wil6210: ignore HALP ICR if already handled Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 07/14] wil6210: add general initialization/size checks Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 08/14] wil6210: make sure Rx ring sizes are correlated Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 09/14] rpmsg: glink: Remove chunk size word align warning Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 10/14] wil6210: remove reset file from debugfs Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 11/14] perf/core: Reattach a misplaced comment Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 12/14] mm/vmalloc.c: move 'area->pages' after if statement Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 13/14] usb: dwc3: don't set gadget->is_otg flag Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 14/14] lib/list_sort: simplify and remove MAX_LIST_LENGTH_BITS Lee Jones
2020-04-03  9:13   ` Greg KH
2020-04-03  9:22     ` Lee Jones [this message]
2020-04-03  9:12 ` [PATCH 4.19 01/14] clk: qcom: rcg: Return failure for RCG update Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200403092229.GC30614@dell \
    --to=lee.jones@linaro.org \
    --cc=greg@kroah.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).