> y...@mwd.biglobe.ne.jp (YAMAMOTO Takashi) writes: >>> Also, I was under the impression that recent Linux kernels use hugepages >>> automatically if they can, so I wonder exactly what Andres was testing >>> on ... > >> if you mean the "trasparent hugepage" feature, iirc it doesn't affect >> MAP_SHARED mappings like this. > > Oh! That would explain some things. It seems like a pretty nasty > restriction though ... do you know why they did that?
i don't know. simply because it wasn't trivial, i guess. the feature was implemented for kvm's guest memory, which is non-shared anonymous memory from POV of host kernel. YAMAMOTO Takashi > > regards, tom lane > > -- > Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-hackers -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers