[dns-operations] Truncation query

Tony Finch dot at dotat.at
Mon Mar 20 14:06:33 UTC 2017

Florian Weimer <fweimer at redhat.com> wrote:
> On 03/17/2017 07:25 PM, Tony Finch wrote:
> >
> > Is there any reason not to allocate a 64KB buffer when the resolver
> > context is initialized, and let the kernel donate pages to the buffer
> > if/when that becomes necessary?
> Every thread in the system currently has its own resolver context, whether or
> not it currently uses the resolver.  Adding a persistent 64 KiB buffer to that
> (and thus to every thread) doesn't seem such a great idea.

Makes sense, thanks!

> (Not that I personally care much about 32-bit anymore, but actively
> breaking backwards compatibility seems a bit much.)

Yes, my question came from a 64 bit mindset :-)

f.anthony.n.finch  <dot at dotat.at>  http://dotat.at/  -  I xn--zr8h punycode
Biscay: Southwesterly veering northwesterly 4 or 5, occasionally 6 in north.
Moderate or rough. Occasional rain. Moderate or good.

More information about the dns-operations mailing list