Re: MemoryContext reset/delete callbacks - Mailing list pgsql-hackers

From Tom Lane
Subject Re: MemoryContext reset/delete callbacks
Date
Msg-id 10307.1425004467@sss.pgh.pa.us
Whole thread Raw
In response to Re: MemoryContext reset/delete callbacks  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: MemoryContext reset/delete callbacks  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> It's a bit sad to push AllocSetContextData onto four cachelines from the
> current three... That stuff is hot. But I don't really see a way around
> it right now. And it seems like it'd give us more amunition to improve
> things than the small loss of speed it implies.

Meh.  I doubt it would make any difference, especially seeing that the
struct isn't going to be aligned on any special boundary.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: GSoC idea - Simulated annealing to search for query plans
Next
From: Etsuro Fujita
Date:
Subject: Re: Odd behavior of updatable security barrier views on foreign tables