On Sunday, Sep 11, 2016 12:45 AM Andrew Morton
> On Fri, 9 Sep 2016 21:22:14 -0700 Andrew Morton foundation.org> wrote:
>
> > Why not just make `hdr' a local? It isn't very large and the code
> > becomes smaller and faster.
>
> Actually, doing it this way saves some code size and is faster:
>
On Fri, 9 Sep 2016 21:22:14 -0700 Andrew Morton
wrote:
> Why not just make `hdr' a local? It isn't very large and the code
> becomes smaller and faster.
Actually, doing it this way saves some code size and is faster:
From: Andrew Morton
Subject: drivers/rapidio/rio_cm.c: avoid GFP_KERNEL in
On Fri, 9 Sep 2016 23:43:35 +0300 Alexey Khoroshilov
wrote:
> riocm_send_close() is called from rio_cm_shutdown() and riocm_ch_close().
> The first site is within section protected by idr_lock spinlock,
> while the second one is not in atomic context.
>
> The patch adds gfp_t argument to alloc
riocm_send_close() is called from rio_cm_shutdown() and riocm_ch_close().
The first site is within section protected by idr_lock spinlock,
while the second one is not in atomic context.
The patch adds gfp_t argument to allocate memory appropriately to
the corresponding context.
Found by Linux Dri
4 matches
Mail list logo