RE: [PATCH] nslookup: ensure unique transaction IDs for the DNS queries

2023-05-10 Thread David Laight
From: Laurent Bercot > Sent: 10 May 2023 12:36 > > >You miss the point. CLOCK_MONOTONIC may simply be too granular > >on some hardware - returning the same value for the duration of > >several milliseconds. > > Wait, what? Is that a thing? Is there actual hardware where > CLOCK_MONOTONIC

Re: [PATCH] nslookup: ensure unique transaction IDs for the DNS queries

2023-05-10 Thread Laurent Bercot
You miss the point. CLOCK_MONOTONIC may simply be too granular on some hardware - returning the same value for the duration of several milliseconds. Wait, what? Is that a thing? Is there actual hardware where CLOCK_MONOTONIC stalls for a noticeable period of time? That does not sound

Re: [PATCH] nslookup: ensure unique transaction IDs for the DNS queries

2023-05-10 Thread Denys Vlasenko
On Tue, May 9, 2023 at 7:48 PM Rich Felker wrote: > On Tue, May 09, 2023 at 07:33:40PM +0200, Denys Vlasenko wrote: > > On Sat, Oct 8, 2022 at 7:23 PM Uwe Kleine-König > > wrote: > > > > > > The transaction IDs generated by res_mkquery() for both glibc and musl > > > only > > > depends on the