Re: MemoryContext reset/delete callbacks

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: MemoryContext reset/delete callbacks
Date: 2015-02-27 02:34:27
Message-ID: 10307.1425004467@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)2ndquadrant(dot)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

In response to

Responses

Browse pgsql-hackers by date

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