lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 21 Nov 2022 11:02:25 -0800
From:   Stefan Roesch <shr@...kernel.io>
To:     Ammar Faizi <ammarfaizi2@...weeb.org>
Cc:     Facebook Kernel Team <kernel-team@...com>,
        Jens Axboe <axboe@...nel.dk>,
        Olivier Langlois <olivier@...llion01.com>,
        netdev Mailing List <netdev@...r.kernel.org>,
        io-uring Mailing List <io-uring@...r.kernel.org>,
        Jakub Kicinski <kuba@...nel.org>
Subject: Re: [RFC PATCH v4 3/4] liburing: add example programs for napi busy
 poll


Ammar Faizi <ammarfaizi2@...weeb.org> writes:

> On 11/19/22 11:11 AM, Stefan Roesch wrote:
>> +void recordRTT(struct ctx *ctx)
>> +{
>> +    struct timespec startTs = ctx->ts;
>> +
>> +    // Send next ping.
>> +    sendPing(ctx);
>> +
>> +    // Store round-trip time.
>> +    ctx->rtt[ctx->rtt_index] = diffTimespec(&ctx->ts, &startTs);
>> +    ctx->rtt_index++;
>> +}
>
> Use tabs for indentation, not spaces.

Fixed in next version.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ