在 2021年04月23日 00:00, [email protected] 写道: > Date: Thu, 22 Apr 2021 12:06:29 +0000 > From: "Moore, Martin (Linux ERT)" <[email protected]> > To: "Discussion list for crash utility usage, maintenance and > development" <[email protected]> > Subject: Re: [Crash-utility] [PATCH] Skip alternate hz calculation in > Linux 4.8+ > Message-ID: > > <at5pr8401mb1300438f403f7a3a9b6a12dc91...@at5pr8401mb1300.namprd84.prod.outlook.com> > > Content-Type: text/plain; charset="us-ascii" > > Hi Kazu, > >> Thank you for the report and patch, there is another discussion about the HZ >> calculation [1], but anyway I think we should have this patch. >> Acked-by: Kazuhito Hagio <[email protected]> >> Could I have your Signed-off-by: tag? > Yes, included below. Thanks. > > --- task.c.orig 2021-04-14 16:07:52.021137849 -0400 > +++ task.c 2021-04-14 16:11:03.406626370 -0400 > @@ -417,7 +417,8 @@ > > STRUCT_SIZE_INIT(cputime_t, "cputime_t"); > > - if (symbol_exists("cfq_slice_async")) { > + if ((THIS_KERNEL_VERSION < LINUX(4,8,0)) && > + symbol_exists("cfq_slice_async")) { > uint cfq_slice_async; > > get_symbol_data("cfq_slice_async", sizeof(int), > > Signed-off-by: Martin Moore <[email protected]>
Acked-by: Lianbo Jiang <[email protected]> -- Crash-utility mailing list [email protected] https://listman.redhat.com/mailman/listinfo/crash-utility
