lkml.org 
[lkml]   [2019]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] padata: Replace delayed timer with immediate workqueue in padata_reorder
    On Wed, Jul 17, 2019 at 02:32:27PM -0400, Daniel Jordan wrote:
    >
    > We'll crash when cpumask_next_wrap returns nr_cpumask_bits and later try to get
    > the corresponding per-cpu queue.

    The whole point of cpumask_next_wrap is to wrap around to the
    beginning when it hits nr_cpumask_bits. So it cannot return
    nr_cpumask_bits.

    Cheers,
    --
    Email: Herbert Xu <herbert@gondor.apana.org.au>
    Home Page: http://gondor.apana.org.au/~herbert/
    PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

    \
     
     \ /
      Last update: 2019-07-18 05:32    [W:2.933 / U:0.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site